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

JWKS endpoint is not responding with a valid alg #99

Open
cvlaminck opened this issue Mar 4, 2024 · 0 comments
Open

JWKS endpoint is not responding with a valid alg #99

cvlaminck opened this issue Mar 4, 2024 · 0 comments

Comments

@cvlaminck
Copy link

Hi,

The JWKS endpoint respond with an invalid alg for the key cloudtasks-emulator-test.

Example:

{"keys":[{"alg":"RSA256","e":"AQAB","kid":"cloudtasks-emulator-test","kty":"RSA","n":"vhHj4zZSEg7q1-BdSbzSivtmn4EWF_PZIF7gAH-4iqm7v22MN-2wvnmpNLQG_-LeJ5M39kDHWt2ei3HEsxPxbEeeHRzCm23AgXDGTkjuUUXi7GP1nQmWcZnyckD0jr8kZO789pauck61GvnQhtdl4mP3JCCXPI0dJvbkr76ni-hMnjpB7GyChEglIArshTNPwhHm-6M0c4R3uVvzQUpuE7CEcisNH1u8HM0aOnQKXYc42a3P4yllpD70jNt008StXyyIIwN4LFT9-5vM9FrBEpY4k9EAggU2R7FEodnky6e8grPV2b0z2eRLu4jgITPMzyyqYc6LccEPsn99XqkF1w","use":"sig"}]}

The alg is RSA256 instead of the expected RS256. This makes it very hard to use with library like the java google-auth-library (which is used by the official cloud tasks) as it expects the correct RS256 instead.

Best,

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