traefik-forward-auth icon indicating copy to clipboard operation
traefik-forward-auth copied to clipboard

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

Open TheLonelinessOfHS opened this issue 2 years ago • 2 comments

Could you please add support for more algorithms? Thanks!

TheLonelinessOfHS avatar Oct 31 '23 00:10 TheLonelinessOfHS

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"},
	})

TheLonelinessOfHS avatar Oct 31 '23 21:10 TheLonelinessOfHS

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.

AdriDevelopsThings avatar May 08 '24 22:05 AdriDevelopsThings