Access Denied Error During Auth0 and Microsoft Azure AD Integration
Hello everyone,
I am currently integrating Auth0 with Microsoft Azure AD to allow users from other organizations to sign up. However, I am encountering an "access denied" error during the authentication flow. Here are the detailed steps of the flow and the issue:
- handleLogin is called
- A URL is generated that prompts the user to sign in.
- The user is then redirected to a Microsoft login URL.
- After signing in, the user is redirected to Auth0's callback URL.
- This then redirects to the /authorize/resume endpoint.
- Finally, it redirects to my application's callback URL with the access denied error.
Despite having given API permissions in my Azure AD app, I still encounter the "access denied" error related to OpenID permissions. I am not sure which specific permission is missing or incorrectly configured.
I have ensured that the following permissions are granted:
- openid
- profile
However, the issue persists. Any guidance on what specific permissions or configurations are required to allow users from other organizations' Microsoft Azure AD to sign up would be greatly appreciated.