1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-11-27 14:28:59 +09:00
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
// 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(oauth2orize.grant.code({
modes: getQueryMode(config.url),