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 token validation #72

Closed
pelord opened this issue Feb 6, 2025 · 2 comments
Closed

Azure token validation #72

pelord opened this issue Feb 6, 2025 · 2 comments

Comments

@pelord
Copy link

pelord commented Feb 6, 2025

Did someone sucessfully achieve a access token validation on Azure/Microsoft with this mod?

I'm partially aware of some restrictions (#71) but i'm currently losing hope.

Here my conf.

                AuthType oauth2
                LogLevel debug oauth2:trace5  
                OAuth2TokenVerify jwks_uri https://login.microsoftonline.com/{TENANT}/discovery/v2.0/keys?appid={APPID]
                Require valid-user

At this stage, i get this error

_cjose_jws_verify_sig_rs error:04091068:rsa routines:int_rsa_verify:bad signature

@pelord pelord changed the title Azure Azure token validation Feb 6, 2025
@pelord
Copy link
Author

pelord commented Feb 6, 2025

This is insightful

https://stackoverflow.com/a/76280037/4254061

@pelord
Copy link
Author

pelord commented Feb 6, 2025

Hope is back!

My issue was that my requested scope (to Azure AD) was not the default one.

Once i've setted the correct scope on my token request, the mod verified the call.

@pelord pelord closed this as completed Feb 6, 2025
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