onasty/api/paths/auth/oauth-provider.yml(view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
get:
tags: [OAuth]
summary: Initiate OAuth login
security:
- {}
parameters:
- name: provider
in: path
required: true
schema:
type: string
enum: [google, github]
responses:
'200':
description: CANNOT BE RETURNED it's here just to make redocly linter not angry at this code
'302':
description: Redirect to OAuth provider
'400':
$ref: '../../components/responses/ErrorResponse.yml'
'500':
$ref: '../../components/responses/ErrorResponse.yml'
|