Start OAuth authorization
POST/oauth/:provider/authorize
Initiate an OAuth authorization flow for a provider. Returns an authorization URL to redirect the user to. The user will be redirected back to /api/v1/oauth/callback after authorizing.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
OK
Invalid request or provider type
Unauthorized
Forbidden - admin only
Provider not configured
Internal server error