Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure AD B2C witn LinkedIn UserFlow does not work #95

Open
csomgergely opened this issue Aug 11, 2023 · 0 comments
Open

Azure AD B2C witn LinkedIn UserFlow does not work #95

csomgergely opened this issue Aug 11, 2023 · 0 comments

Comments

@csomgergely
Copy link

csomgergely commented Aug 11, 2023

When I configure a linkedin based userflow, I got the following error message: AADB2C90273: An invalid response was received : 'Error: unauthorized_scope_error,Error Description: Scope "r_emailaddress" is not authorized for your application'

I think the problem is, that linkedin expose for sign-in different properties, which does not include r_emailaddress:

image

Sign-in experience is approved from linkein side:

image

On stackoverflow around 2020, I found some screenshots, that the property was called r_emailaddress, but is not up-to-date any more.

image

On Azure AD B2C, I was triing to use the normal UserFlow functionality documentet here (UserFlow, not Custom Policy, which seems way more complex):
https://learn.microsoft.com/en-us/azure/active-directory-b2c/identity-provider-linkedin?WT.mc_id=Portal-Microsoft_AAD_B2CAdmin&pivots=b2c-user-flow

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant