diff --git a/internal/oauth/server.go b/internal/oauth/server.go index e4376d864..97e6812c5 100644 --- a/internal/oauth/server.go +++ b/internal/oauth/server.go @@ -99,7 +99,10 @@ func New(ctx context.Context, database db.Basic) Server { oauth2.AuthorizationCode, oauth2.ClientCredentials, }, - AllowedCodeChallengeMethods: []oauth2.CodeChallengeMethod{oauth2.CodeChallengePlain}, + AllowedCodeChallengeMethods: []oauth2.CodeChallengeMethod{ + oauth2.CodeChallengePlain, + oauth2.CodeChallengeS256, + }, } srv := server.NewServer(sc, manager)