From 56fdbf9e3ef2ca610cfd06944ef64bdc19ecb3b6 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Mon, 30 Aug 2021 16:54:45 +0545 Subject: [PATCH] fix scope --- app/controllers/api/account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index 33f7cf51d0..4db6036a0c 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -615,7 +615,7 @@ App::get('/v1/account/sessions/oauth2/:provider/redirect') App::post('/v1/account/sessions/url') ->desc('Create Magic URL for creating sessions') ->groups(['api', 'account']) - ->label('scope', 'account') + ->label('scope', 'public') ->label('sdk.auth', []) ->label('sdk.namespace', 'account') ->label('sdk.method', 'createMagicURL')