
mntj7 (mntj7) asked a question.
I am trying to implement the "Complete OpenID Connect Token Example" on this page: https://developer.okta.com/code/javascript/okta_auth_sdk, but I would like to have the tokenManager grab and deal with both the id_token and the access token ("token"). From what I gather, I should be able to specify both in the "responseType" options provided to to "getWithRedirect", but when I change `responseType: 'id_token'` to `responseType: 'token id_token'` or `responseType: ['token', 'id_token']`, it does not work.
For reference, the API seems to have changed since this post, but I'd like to do something like this: https://scotch.io/tutorials/add-authentication-to-any-web-page-in-10-minutes

Hi Nate,
authClient.tokenManager.add('idToken', idToken); should add the token to the manager. Can you please create a ticket including a screenshot of the error? to create a ticket, please email developers@okta.com
Thank you,
Florin.