-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Entra ID provider causes JWTInvalid: JWTs must use Compact JWS serialization, JWT must be a string error #12187
Comments
Hi @ay13 ! Assuming that you're trying to use a Microsoft 365 business plan for this, please try to verify that your issuer variable is set to Hopefully that helps. |
Thanks for the reply @diego-gt , I verified that my issuer is set up the correct way. Same issue. |
Disregard this issue, it was my mistake. In the redirect section of Entra ID I set my redirect as a Single-page app, when I set it as a web app it worked correctly. |
Hi @ay13 Thanks! |
@warrantor For me, setting the platform to |
Glad you got it working! |
Provider type
This is using Entra ID provider. Entra wasnt an option in the drop down so I chose AD
Azure Active Directory
Environment
Reproduction URL
https://github.com/ay13/auth-entra
Describe the issue
After the initial auth process it redirects back to the app and displays the message:
in the console I see the error:
How to reproduce
npx sv create
Expected behavior
I expected to authenticate without an error
The text was updated successfully, but these errors were encountered: