-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Default algorithms for client_secret_jwt
auth
#301
Comments
Some spec references: OAuth 2.0 Authorization Server Metadatahttps://datatracker.ietf.org/doc/html/rfc8414
JWT Profilehttps://datatracker.ietf.org/doc/html/rfc7523#section-5
|
Given that, I think there shouldn't be a default for |
@paulswartz I tend to agree. I think I remember some certification issue though without a default. I’ll rerun the certification profiles without the default to be sure. (Or you can as well if you want.) If we can pass everything without a default, we should assume no supported algorithms and fall back to the next auth method. |
I added a patch for that to #300. I should have some time in the next few days to check it against the profiles if you don't get to it first. |
Looking at the conformance suite, it's hard to tell what's expected here. The
|
@paulswartz Are we able to sign the token using the algoithms provided? On a first glance, they all look like they are asymmetric… I’ll have a look myself in the next few days when I have some time available. |
I'm not (in the conformance suite) and it doesn't look like that was a case covered in the 3.0.0 certification. I am with an actual OP (Keycloak). |
@paulswartz I see the reason why it was in: Certification Setup Test Command: mix run_certification \
--profile test \
--alias test \
--version v3.2.0 \
--auto-open \
--auto-screenshot \
--token-endpoint-auth-method client_secret_jwt Test Name: Logged Metadata:
The test passes with the latest published However: It seems like this is a bug in the certification tooling. If I specify Since you were already in contact with the certification team: Would you mind to open an issue to see if this is intentional? |
Originally posted by @paulswartz in #300 (comment)
The text was updated successfully, but these errors were encountered: