Ticket CS2371782: Add global param to signout #139825
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
[This user] selects the sign out link in CARTS and is taken to OKTA dashboard. He then selects the log out link from Okta and is routed to the IDM login screen, which suggests that he's logged out now from both CARTS and OKTA. But if the user enters the CARTS URL in the browser's address bar and presses Enter, he's taken right back into CARTS without being prompted to sign in. If the user then enters the IDM URL that shows that he is signed out of IDM because it prompted him to sign in, but if doesn't sign in at that point and then again enters the CARTS URL he's still able to access CARTS without another sign in. Same results after clearing cache in Chrome and same issue if using Firefox. Help desk is able to reproduce this behavior on multiple laptops in Chrome and Firefox.
We're going to attempt to fix this with the global signout param being passed. You can read more about that here: https://docs.amplify.aws/react/build-a-backend/auth/connect-your-frontend/sign-out/
How to test
See above. https://dmkyt4bm6nwc2.cloudfront.net/
Notes
Pre-review checklist
Pre-merge checklist
Review