-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove accessToken from being sent to client components (#206)
* remove accessToken from being sent to client components * ignore unused vars in sanitize function * improve type on sanitize helper function * remove oauthTokens from mock in test
- Loading branch information
Showing
3 changed files
with
15 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -219,8 +219,6 @@ describe('useAuth', () => { | |
permissions: ['read', 'write'], | ||
entitlements: ['feature1'], | ||
impersonator: { email: '[email protected]' }, | ||
oauthTokens: { access_token: 'token123' }, | ||
accessToken: 'access123', | ||
}); | ||
|
||
const TestComponent = () => { | ||
|
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