1
0
Fork 0
mirror of synced 2024-06-28 19:20:25 +12:00

Remove the OAuth2 Callback endpoints from api group

Prevent missing project ID error.
This commit is contained in:
Steven Nguyen 2023-07-24 18:38:54 -07:00
parent 3d62652e1e
commit 25016b4cc0
No known key found for this signature in database

View file

@ -332,7 +332,7 @@ App::get('/v1/account/sessions/oauth2/:provider')
App::get('/v1/account/sessions/oauth2/callback/:provider/:projectId')
->desc('OAuth2 Callback')
->groups(['api', 'account'])
->groups(['account'])
->label('error', __DIR__ . '/../../views/general/error.phtml')
->label('scope', 'public')
->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')
->desc('OAuth2 Callback')
->groups(['api', 'account'])
->groups(['account'])
->label('error', __DIR__ . '/../../views/general/error.phtml')
->label('scope', 'public')
->label('origin', '*')