server metadata test
This commit is contained in:
parent
deb4429e3a
commit
333d6a9283
2 changed files with 20 additions and 3 deletions
|
|
@ -432,7 +432,15 @@ export class OAuth2ProviderService {
|
|||
issuer: this.config.url,
|
||||
authorization_endpoint: new URL('/oauth/authorize', this.config.url),
|
||||
token_endpoint: new URL('/oauth/token', this.config.url),
|
||||
// TODO: support or not?
|
||||
// introspection_endpoint: ...
|
||||
// introspection_endpoint_auth_methods_supported: ...
|
||||
scopes_supported: kinds,
|
||||
response_types_supported: ['code'],
|
||||
grant_types_supported: ['authorization_code'],
|
||||
service_documentation: 'https://misskey-hub.net',
|
||||
code_challenge_methods_supported: ['S256'],
|
||||
authorization_response_iss_parameter_supported: true,
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue