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

Micorsoft Entra ID and msal-browser/2.37.1 error validation access token #202

Closed
Sampei4 opened this issue Oct 13, 2023 · 2 comments · Fixed by #211
Closed

Micorsoft Entra ID and msal-browser/2.37.1 error validation access token #202

Sampei4 opened this issue Oct 13, 2023 · 2 comments · Fixed by #211

Comments

@Sampei4
Copy link

Sampei4 commented Oct 13, 2023

Hi, I get the following error when I try to validate the access token:

Firebase\JWT\SignatureInvalidException: Signature verification failed
vendor\thenetworg\oauth2-azure\src\Provider\Azure.php(277): Firebase\JWT\JWT::decode()
TheNetworg\OAuth2\Client\Provider\Azure->validateAccessToken()
@al-n
Copy link

al-n commented Dec 6, 2023

I have the same issue - could you solve it or does anyone else know what the problem is?

@beriba
Copy link

beriba commented Apr 18, 2024

I don't know if that's still relevant for you but I managed to get rid of this error by using idToken instead of accessToken. The internet says that may have some security implications but by reading the code from this repo, I think that's the only option to make it work

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

Successfully merging a pull request may close this issue.

3 participants