Okta-signin-widget and token manager (sessionStorage)


#1

Hi,

I am using okta-signin-widget in my angular app. I want to configure the inner OktaAuth to write the token into the session storage instead fo local storage.

I know OktaAuth has this config but I couldn’t find away to change in okta-signin-widget

var config = {
url: ‘https://{yourOktaDomain}’,
tokenManager: {
storage: ‘sessionStorage’
}
};

var authClient = new OktaAuth(config);

How can I change the tokenManager config from okta-signin-widget ?