diff --git a/app/controllers/auth.php b/app/controllers/auth.php index 4f93ebd2dc..cfdd2c696c 100644 --- a/app/controllers/auth.php +++ b/app/controllers/auth.php @@ -636,10 +636,11 @@ $utopia->get('/v1/auth/oauth/callback/:provider/:projectId') ->desc('OAuth Callback') ->label('error', __DIR__.'/../views/general/error.phtml') ->label('scope', 'auth') - ->label('sdk.namespace', 'auth') - ->label('sdk.method', 'oauthCallback') + //->label('sdk.namespace', 'auth') + //->label('sdk.method', 'oauthCallback') ->label('abuse-limit', 50) ->label('abuse-key', 'ip:{ip}') + ->label('docs', false) ->param('projectId', '', function () {return new Text(1024);}, 'Project unique ID') ->param('provider', '', function () use ($providers) {return new WhiteList(array_keys($providers));}, 'OAuth provider') ->param('code', '', function () {return new Text(1024);}, 'OAuth code') @@ -656,8 +657,8 @@ $utopia->get('/v1/auth/oauth/:provider/redirect') ->label('error', __DIR__.'/../views/general/error.phtml') ->label('webhook', 'auth.oauth') ->label('scope', 'auth') - ->label('sdk.namespace', 'auth') - ->label('sdk.method', 'oauthRedirect') + //->label('sdk.namespace', 'auth') + //->label('sdk.method', 'oauthRedirect') ->label('abuse-limit', 50) ->label('abuse-key', 'ip:{ip}') ->label('docs', false)