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

oidc: id token signed with unsupported algorithm, expected ["RS256"] got "ES384" #358

Open
TheLonelinessOfHS opened this issue Oct 31, 2023 · 2 comments

Comments

@TheLonelinessOfHS
Copy link

Could you please add support for more algorithms? Thanks!

@TheLonelinessOfHS
Copy link
Author

For those who are interested in this, in oidc.go use the following in lines 55-58:

	o.verifier = o.provider.Verifier(&oidc.Config{
		ClientID: o.ClientID,
		SupportedSigningAlgs: []string{"RS256", "ES384"},
	})

@AdriDevelopsThings
Copy link

You don't have to set the supported signing algorithms manually. The oidc configuration automatically provides the algorithms that are supported. But I got this error too but updating to the version 2.3.0 worked for me.

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

2 participants