
AndyL.55347 (Customer) asked a question.
Description:
After member logged out using the logout button. he can login automatically to his account when they click the login button.
Browser: Firefox
OS: Mac OS X
RawUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:137.0) Gecko/20100101 Firefox/137.0
Steps to Reproduce:
User A logs into their member portal account on Firefox and completes their session.
User A logs out using the proper logout method and closes the tab before the logout screen shows.
User A then opens a new tab in Firefox, navigates to the login page, and selects the "Member Login" option.
Instead of being prompted to enter their own credentials, User A is automatically logged into User A's account.
Expected Behavior:
After User A logs out and closes the tab, User A should be prompted to enter their own login credentials without any automatic login to User A's account.
Actual Behavior:
User A is automatically logged into User A's account, regardless of the logout process followed by User A.
Additional Info:
The following OKTA JavaScript and sign-out code is used for the logout function. This code works in Chrome and Edge, but not in Firefox. It appears that in Firefox, the user session is not terminated upon logging out, allowing users to navigate back to a logged-in state
var oktaLogoutURL = document.getElementById("okta-logout").value;
oktaSecureSignIn.authClient.signOut({
clearTokensBeforeRedirect: true,
postLogoutRedirectUri: oktaLogoutURL
});
We found a similar post but no resolution was provided - https://devforum.okta.com/t/okta-auth-js-signout-not-working-firefox/24626

Hello @AndyL.55347 (Customer) Thank you for posting on our Community page!
This question is more appropriate for our dedicated Okta Developer Forum.
My advice would be to reach out via devforum.okta.com to take advantage of their expertise.
While we'll do our best to answer all of your questions here, this medium is more inclined towards Okta core products and features (non-developer work).
Thank you for reaching out to our Community and have a great day!
--
Help others in the community by liking or hitting Select as Best if this response helped you.
Collect them all. Learn a new skill and earn a new Okta Learning badge.