mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-10-01 02:39:39 +02:00
identity: include scope when validating account recovery token
This commit is contained in:
1 parent
90dd4e548d
commit
abe7e67933
1 file changed
+1
@@ -255,6 +255,7 @@ namespace Streetwriters.Identity.Controllers
|
|||||||
return Ok(new
|
return Ok(new
|
||||||
{
|
{
|
||||||
access_token = token,
|
access_token = token,
|
||||||
|
scope = string.Join(' ', Config.ApiScopes.Select(s => s.Name)),
|
||||||
expires_in = 18000
|
expires_in = 18000
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user