Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove token informations from local storage after succesful logout #1488

Merged
merged 1 commit into from
Aug 23, 2023

Conversation

Eisie96
Copy link
Contributor

@Eisie96 Eisie96 commented Aug 22, 2023

PR Type

[x] Bugfix

What Is the Current Behavior?

During the logout process for the icm and punchout identity provider only the apiToken cookie will be removed. The related access token information within the localStorage, which is handled by the OAuthService, will not be deleted. This can lead to unwanted behavior, that the OAuthService triggers an action to refresh the revoked access_token.

What Is the New Behavior?

The pwa will remove for the icm and punchout identity provider all access_token informations, when the logout of the user is successful.

Does this PR Introduce a Breaking Change?

[x] No

Other Information

AB#88809

@Eisie96 Eisie96 requested a review from shauke August 22, 2023 14:56
@shauke shauke added this to the 4.2 milestone Aug 23, 2023
@shauke shauke merged commit 1c0bf6e into develop Aug 23, 2023
27 checks passed
@shauke shauke deleted the fix/remove-token-infos-after-logout branch August 23, 2023 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants