Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

updateTokens

Updated on October 21, 2022

Passes the token object returned from a OAuth token endpoint back to the embedding when popupReauth is specified as “false”.

The embedding host gets updated access_token and refresh_token from a Pega server and passes them back to the web embed.

Signature

updateTokens(<token>)

Returns

Not applicable.

Parameters

NameDescriptionTypeRequired
<token>JS object returned from the token endpoint. JS object
For example:
document.getElementById("theEmbed").updateTokens("<token>");

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us