thomseddon/traefik-forward-auth

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

TheLonelinessOfHS opened this issue · 2 comments

Could you please add support for more algorithms? Thanks!

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

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.