-
-
Notifications
You must be signed in to change notification settings - Fork 438
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(console): integrate jwt customizer test api (#5532)
* feat(console): integrate jwt customizer test api integrate jwt customizer test api * refactor(console,core): jwt test api integration jwt test api integration * chore: add cloud connection scope config for fetching custom jwt --------- Co-authored-by: Darcy Ye <[email protected]>
- Loading branch information
Showing
8 changed files
with
85 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -192,19 +192,19 @@ const standardTokenPayloadData = { | |
aud: 'http://localhost:3000/api/test', | ||
}; | ||
|
||
const defaultAccessTokenPayload: AccessTokenPayload = { | ||
export const defaultAccessTokenPayload: AccessTokenPayload = { | ||
...standardTokenPayloadData, | ||
grantId: 'grant_123', | ||
accountId: 'uid_123', | ||
kind: 'AccessToken', | ||
}; | ||
|
||
const defaultClientCredentialsPayload: ClientCredentialsPayload = { | ||
export const defaultClientCredentialsPayload: ClientCredentialsPayload = { | ||
...standardTokenPayloadData, | ||
kind: 'ClientCredentials', | ||
}; | ||
|
||
const defaultUserTokenContextData = { | ||
export const defaultUserTokenContextData = { | ||
user: { | ||
id: '123', | ||
primaryEmail: '[email protected]', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters