diff --git a/api/oidc.go b/api/oidc.go index 91e2acf1e..d01b7a7c5 100644 --- a/api/oidc.go +++ b/api/oidc.go @@ -35,7 +35,11 @@ func NewOIDC(conf *config.Configuration, db *database.GormDatabase, userChangeNo } cookieHandler := httphelper.NewCookieHandler(cookieKey, cookieKey, cookieHandlerOpt...) - opts := []rp.Option{rp.WithCookieHandler(cookieHandler), rp.WithPKCE(cookieHandler)} + opts := []rp.Option{ + rp.WithCookieHandler(cookieHandler), + rp.WithPKCE(cookieHandler), + rp.WithSigningAlgsFromDiscovery(), + } provider, err := rp.NewRelyingPartyOIDC( context.Background(),