2
0

Enable OAuth PKCE Extension (#31129)

This commit is contained in:
Emelia Smith
2024-07-26 10:53:10 +02:00
committed by GitHub
parent 3793c845c9
commit 693d9b03ed
10 changed files with 164 additions and 6 deletions

View File

@@ -7,6 +7,7 @@ class OauthMetadataPresenter < ActiveModelSerializers::Model
:revocation_endpoint, :scopes_supported,
:response_types_supported, :response_modes_supported,
:grant_types_supported, :token_endpoint_auth_methods_supported,
:code_challenge_methods_supported,
:service_documentation, :app_registration_endpoint
def issuer
@@ -59,6 +60,10 @@ class OauthMetadataPresenter < ActiveModelSerializers::Model
%w(client_secret_basic client_secret_post)
end
def code_challenge_methods_supported
%w(S256)
end
private
def doorkeeper