This commit is contained in:
Kagami Sascha Rosylight 2023-06-24 00:35:18 +02:00
parent daa18efc99
commit cb2089981a

View file

@ -239,7 +239,7 @@ export class OAuth2ProviderService {
}>(1000 * 60 * 5); // expires after 5m }>(1000 * 60 * 5); // expires after 5m
// https://datatracker.ietf.org/doc/html/draft-ietf-oauth-security-topics // https://datatracker.ietf.org/doc/html/draft-ietf-oauth-security-topics
// Authorization servers MUST support PKCE [RFC7636]. // "Authorization servers MUST support PKCE [RFC7636]."
this.#server.grant(oauth2Pkce.extensions()); this.#server.grant(oauth2Pkce.extensions());
this.#server.grant(oauth2orize.grant.code({ this.#server.grant(oauth2orize.grant.code({
modes: getQueryMode(config.url), modes: getQueryMode(config.url),