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

jwt::helper::create_public_key_from_rsa_components doesn't exist in vcpkg version? #368

Open
M-U-X opened this issue Nov 13, 2024 · 1 comment
Labels

Comments

@M-U-X
Copy link

M-U-X commented Nov 13, 2024

What's your question?

jwt::helper::create_public_key_from_rsa_components jwks example? and how to verify google jwt id tokens?

Additional Context

I've a jwt id token from google, that I obtained through the normal oauth2 sign in with google flow, I want to verify it with this library, google's public keys are ig offered from 3 end points in different formats,
https://www.googleapis.com/oauth2/v1/certs
https://www.googleapis.com/oauth2/v2/certs
https://www.googleapis.com/oauth2/v3/certs

how do I use any of those with the libraries, I was trying the jwks example for the v3 one, but as the title says, the create_public key isn't there

@M-U-X M-U-X added the question label Nov 13, 2024
@Thalhammer
Copy link
Owner

vcpkg is only updated for Releases, the last of which is 0.7.0.
jwt::helper::create_public_key_from_rsa_components didn't exist yet at that time.

Maybe its time for a 0.8.0 or 0.7.1 @prince-chrismc ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants