Skip to content

Commit

Permalink
feat(client): remove scope for access token grant (#439)
Browse files Browse the repository at this point in the history
  • Loading branch information
wangsijie committed Jan 12, 2023
1 parent d3acd9c commit 52468fd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/client/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { ReservedScope } from '@logto/core-kit';
import {
CodeTokenResponse,
decodeIdToken,
Expand Down Expand Up @@ -278,7 +277,6 @@ export default class LogtoClient {
tokenEndpoint,
refreshToken: currentRefreshToken,
resource,
scopes: resource ? [ReservedScope.OfflineAccess] : undefined, // Force remove openid scope from the request
},
this.adapter.requester
);
Expand Down

0 comments on commit 52468fd

Please sign in to comment.