-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
Signature validation error while doing an API call... #360
Comments
Still looking to get some guidance on this topic if possible. :( |
Have you walked through why the signature verification fails? I would start there. Once you understand which part of the JWT is invalid, then it's easier to search the internet for and understand why that's not happening. |
Thank you for answering! I'm sure it has something to do with this what I mentioned: As the access token is - for some unknown reason - v1 instead of v2 and it is trying to verify it against this endpoint: This logically leads to an error as V1 should verify the token against this JWKS endpoint: https://login.microsoftonline.com/common/discovery/keys I have also tried to change the "accessTokenAcceptedVersion" in the Azure application manifest to "2", but it didn't have any effect on this... |
At this point, this appears to be an issue with the specific configuration rather than the library. I'm sorry, but I don't have the availability to help you debug that type of problem. |
Hello,
I came across this implementation and I've been trying to solve my use case using it.
My use case is simplified as follows:
I've gotten pretty far already with the guides provided, mainly this one: https://django-auth-adfs.readthedocs.io/en/latest/azure_ad_config_guide.html
What I'm struggling with is the access token validation. I have checked all that I can think of, but everything seems to check out configuration wise. I also tried to see past issues for clues, but didn't manage to find resolution.
What I have noticed:
I'm ONLY using the OIDC v2.0 endpoints, but I can see from the access token that it is actually the VERSION 1, which would kind of explain the verification error, because it is trying to verify it against the v2.0 JWKS endpoint...
I've also verified that the front-end application is also using only the v2.0 endpoints for OIDC. Currently I can't say what is forcing it to the v1.0 version...
Here is my settings.py
My debug logs:
Any idea where I should look next?
The text was updated successfully, but these errors were encountered: