Remove the OAuth2 Callback endpoints from api group
Prevent missing project ID error.
This commit is contained in:
parent
3d62652e1e
commit
25016b4cc0
1 changed files with 2 additions and 2 deletions
|
@ -332,7 +332,7 @@ App::get('/v1/account/sessions/oauth2/:provider')
|
||||||
|
|
||||||
App::get('/v1/account/sessions/oauth2/callback/:provider/:projectId')
|
App::get('/v1/account/sessions/oauth2/callback/:provider/:projectId')
|
||||||
->desc('OAuth2 Callback')
|
->desc('OAuth2 Callback')
|
||||||
->groups(['api', 'account'])
|
->groups(['account'])
|
||||||
->label('error', __DIR__ . '/../../views/general/error.phtml')
|
->label('error', __DIR__ . '/../../views/general/error.phtml')
|
||||||
->label('scope', 'public')
|
->label('scope', 'public')
|
||||||
->label('docs', false)
|
->label('docs', false)
|
||||||
|
@ -356,7 +356,7 @@ App::get('/v1/account/sessions/oauth2/callback/:provider/:projectId')
|
||||||
|
|
||||||
App::post('/v1/account/sessions/oauth2/callback/:provider/:projectId')
|
App::post('/v1/account/sessions/oauth2/callback/:provider/:projectId')
|
||||||
->desc('OAuth2 Callback')
|
->desc('OAuth2 Callback')
|
||||||
->groups(['api', 'account'])
|
->groups(['account'])
|
||||||
->label('error', __DIR__ . '/../../views/general/error.phtml')
|
->label('error', __DIR__ . '/../../views/general/error.phtml')
|
||||||
->label('scope', 'public')
|
->label('scope', 'public')
|
||||||
->label('origin', '*')
|
->label('origin', '*')
|
||||||
|
|
Loading…
Reference in a new issue