-
Notifications
You must be signed in to change notification settings - Fork 215
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
JWT: support both certs and raw public keys #6601
Comments
@achamayou, one design question so far, shall we
Self-endorsed cert looks, as we may set expiry date explicitly, however, it may look a little weird. On the other hand, it's a smaller change, no schema changes involved. |
Talked on-site. Decided to move on with extending
This avoid breaking old entries format and simplifies transition to the new code version. |
Wondering which key types to support in here. Checked Google's and Facebook's well-knows configs, both use RSA256 keys. @PallabPaul do you have a list of providers you intend to support? At least those which you think may be a must-have, just to double-check the key types. |
So the overall goal would be to support the same IdP's that other Azure services like Azure Function supports listed here and also allow customers to add their custom IdP as long as they follow the OIDC protocol: From this list it looks like Apple also follows RSA256 but couldn't find the well-known endpoint for Github or Twitter. IMO, RSA256 keys should suffice and open up many common IdP's that we can support. We have also started exploring alternatives such as inviting external IdP's to Microsoft Entra Id which would allow the external user to be part of AAD and have a JWT token provided by Microsoft which includes the |
That's a useful one, thank you! |
For instance, FB openid conf:
https://www.facebook.com/.well-known/oauth/openid/jwks/
Format:
CCF now only supports
x5c
field though. It has to support bothx5c
andn + e
combination.n
+e
fieldsjwt_management.h
OpenSSL_Verifier
only supports certs)jwt_auth.cpp
, fallback to cert if neededThe text was updated successfully, but these errors were encountered: