You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've a simple app with the copy/paste code from the installation instructions with some additions.
I am able to click Sign. Doing so redirects my to OIDC Sign In screen, I fill in credentials, then I am redirected back to my React SPA and my access token is available. All good so far👍
However, clicking Sign Out I am redirected to OP /logout. If I then navigate back to the React SPA, when I click Sign In I am automatically signed in without being asked for credentials. How is that so?
I've cleared all application storage and it still seems to know who I am? The only way I get to the login screen, is if I open an Incognito tab.
However, clicking Sign Out I am redirected to OP /logout. If I then navigate back to the React SPA, when I click Sign In I am automatically signed in without being asked for credentials. How is that so?
However, clicking Sign Out I am redirected to OP /logout. If I then navigate back to the React SPA, when I click Sign In I am automatically signed in without being asked for credentials. How is that so?
Is there a session cookie placed by cognito-idp?
Looks like /oauth2/idpresponse does set a cognito cookie
...but how would that take effect if I clear all cookies (via dev tools)?
Hello,
I've a simple app with the copy/paste code from the installation instructions with some additions.
I am able to click Sign. Doing so redirects my to OIDC Sign In screen, I fill in credentials, then I am redirected back to my React SPA and my access token is available. All good so far👍
However, clicking Sign Out I am redirected to OP /logout. If I then navigate back to the React SPA, when I click Sign In I am automatically signed in without being asked for credentials. How is that so?
I've cleared all application storage and it still seems to know who I am? The only way I get to the login screen, is if I open an Incognito tab.
My Sign Out button has the following handler:
Any ideas?
Edit: Could this be the issue? https://stackoverflow.com/questions/49309928/cant-destroy-aws-cognito-session-from-within-react-application
The text was updated successfully, but these errors were encountered: