

Select Identity providers, then select GitHub (Preview).Choose All services in the top-left corner of the Azure portal, search for and select Azure AD B2C.On the Portal settings | Directories + subscriptions page, find your Azure AD B2C directory in the Directory name list, and then select Switch.Select the Directories + subscriptions icon in the portal toolbar.

Make sure you're using the directory that contains your Azure AD B2C tenant.Sign in to the Azure portal as the global administrator of your Azure AD B2C tenant.You need both to add the identity provider to your tenant. Copy the values of Client ID and Client Secret.Use all lowercase letters when entering your tenant name even if the tenant is defined with uppercase letters in Azure AD B2C. If you use a custom domain, enter Replace your-domain-name with your custom domain, and your-tenant-name with the name of your tenant. For the Authorization callback URL, enter.Enter an Application name and your Homepage URL.Select OAuth Apps and then select New OAuth App.Sign in to the GitHub Developer with your GitHub credentials.If you don't already have a GitHub account, you can sign up at. For more information, see Creating an OAuth App. To enable sign-in with a GitHub account in Azure Active Directory B2C (Azure AD B2C), you need to create an application in GitHub Developer portal. Complete the steps in Get started with custom policies in Active Directory B2C.
