update oauth
This commit is contained in:
@@ -33,6 +33,7 @@ export const apiReference: ApiTagGroup[] = [
|
||||
{
|
||||
tag: 'OAuth 2.0',
|
||||
endpoints: [
|
||||
{ method: 'GET', path: '/.well-known/openid-configuration', summary: 'OpenID Connect Discovery' },
|
||||
{ method: 'GET', path: '/oauth/authorize', summary: 'Создать authorization code' },
|
||||
{ method: 'POST', path: '/oauth/token', summary: 'Выдать OAuth токены (code / refresh_token)' },
|
||||
{ method: 'GET', path: '/oauth/userinfo', summary: 'Профиль по OAuth access token', auth: true }
|
||||
|
||||
Reference in New Issue
Block a user