Skip to content

Commit

Permalink
docs: Correctly set tokens in parseFromUrl example
Browse files Browse the repository at this point in the history
OKTA-361012
<<<Jenkins Check-In of Tested SHA: 6ca81e4 for eng_productivity_ci_bot_okta@okta.com>>>
Artifact: okta-auth-js
  • Loading branch information
Almad authored and eng-prod-CI-bot-okta committed Jan 15, 2021
1 parent 9a8f4c0 commit ecd7401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2090,7 +2090,7 @@ authClient.token.getWithRedirect({
authClient.token.parseFromUrl()
.then(function(res) {
// Save token
authClient.tokenManager.setTokens(tokens);
authClient.tokenManager.setTokens(res.tokens);
// Read saved URL from storage
const url = sessionStorage.getItem('url');
Expand Down

0 comments on commit ecd7401

Please sign in to comment.