-
Notifications
You must be signed in to change notification settings - Fork 232
Error logging in with IE11 after upgrading from Angular 8 to Angular 10 #927
Comments
@polklabs - Thanks for the report. While we investigate, please check this comment from a similar issue to see if it is related: #706 (comment) |
Internal ref: OKTA-336180 |
@polklabs We recommend avoiding logic based on the sessionToken. The widget should either redirect to Okta then to your callback handler, or retrieve tokens directly. This is an example of receiving tokens using the widget without a redirect: okta/samples-js-react@c841d6b#diff-7961237a7da3d48dc2505ec2526496d9R49 Note that currently you must not set the "pkce" or "display" option in the Logic based on active session may also cause issues if you are using the api If there is an active session you can get tokens by redirect, suppressing any possibility of showing the widget on the Okta side, by setting A couple other things about your config:
We do not recommend using the |
@aarongranick-okta Using getWithoutPrompt when an active session works great. I had set Now there is an issue with logging out of the site in IE11. Chrome works as expected, but in IE |
I'm submitting this issue for the package(s):
I'm submitting a:
Current behavior
When logging in with the okta-signin-widget in IE11 the following error occures
AuthSdkError: Could not load PKCE codeVerifier from storage. This may indicate the auth flow has already completed or multiple auth flows are executing concurrently.
Auth flow works perfectly on other browsers
Okta login also stopped working during the intermediate upgrade from version 8 to version 9
Expected behavior
Okta login was working in Angular 8 and should continue working in Version 9 and Version 10
okta.handleAuthentication() should complete without error on IE11
No Okta related code has been changed during the upgrade from V8 to V10
Unable to debug since the IE console closes when redirecting to oktapreview and back and console logs are not saved when console is not open
Minimal reproduction of the problem with instructions
Extra information about the use case/user story you are trying to implement
Sign in widget config
App.module Okta config
In the login component i'm checking if the user has an active session and calling
this.oktaAuth.loginRedirect(this.loginHelperService.getRedirectUrl(), { sessionToken: sessionInfo.id });
Otherwise i'm showing the login widget
Environment
node -v
): 12.19.0Polyfills:
Working Okta package versions:
Package versions after update:
using @latest versions also does not fix the issue
The text was updated successfully, but these errors were encountered: