Skip to content

Commit

Permalink
chore: add cloud connection scope config for fetching custom jwt
Browse files Browse the repository at this point in the history
  • Loading branch information
darcyYe committed Mar 21, 2024
1 parent 0ea1dd6 commit 2b34214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/libraries/cloud-connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const accessTokenResponseGuard = z.object({
* The scope here can be empty and still work, because the cloud API requests made using this client do not rely on scope verification.
* The `CloudScope.SendEmail` is added for now because it needs to call the cloud email service API.
*/
const scopes: string[] = [CloudScope.SendEmail];
const scopes: string[] = [CloudScope.SendEmail, CloudScope.FetchCustomJwt];
const accessTokenExpirationMargin = 60;

/** The library for connecting to Logto Cloud service. */
Expand Down

0 comments on commit 2b34214

Please sign in to comment.