How to use the same gmail account in social login and email/password login in azure b2c portal

jeeva t 0 Reputation points
2024-01-13T08:59:24.8466667+00:00

We are using Azure B2C for our web app authentication. We need to use the same gmail account in social login and email/password login. We need how to configure/link social credentials with local email/password signin.

Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

2 answers

Sort by: Most helpful
  1. Dillon Silzer 57,831 Reputation points Volunteer Moderator
    2024-01-13T20:59:04.72+00:00

    Hi Jeeva, Please see:

    Set up sign-up and sign-in with a Google account using Azure Active Directory B2C

    https://learn.microsoft.com/en-us/azure/active-directory-b2c/identity-provider-google?pivots=b2c-user-flow

    To enable sign-in for users with a Google account in Azure Active Directory B2C (Azure AD B2C), you need to create an application in Google Developers Console. For more information, see Setting up OAuth 2.0. If you don't already have a Google account you can sign up at https://accounts.google.com/signup.

    If this is helpful please accept answer.

    0 comments No comments

  2. Shweta Mathur 30,296 Reputation points Microsoft Employee Moderator
    2024-01-18T10:34:24.7+00:00

    Hi jeeva t,

    Thanks for reaching out.

    I can understand that you are trying to link an account with multiple identities (social and local gmail account) to one account.

    You can refer the sample link here to link/unlink those accounts. https://github.com/azure-ad-b2c/samples?tab=readme-ov-file#account-linking

    Hope this will help.

    Thanks,

    Shweta


    Please remember to "Accept Answer" if answer helped you.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.