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

Deleting a user as an admin is not handled gracefully for the user #1128

Open
2 tasks done
FlxMgdnz opened this issue Oct 23, 2023 · 0 comments
Open
2 tasks done

Deleting a user as an admin is not handled gracefully for the user #1128

FlxMgdnz opened this issue Oct 23, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@FlxMgdnz
Copy link
Member

Checklist

  • I could not find a solution in the existing issues or docs.
  • I agree to follow this project's Code of Conduct.

Describe the bug

If I delete an authenticated user via the admin API, the auth component currently tries to read the user (based on the cookie) and gets 404, the auth component then displays the "technical error" message. It would be better to end the session for the "user", redirect to the login screen, and the cookie should be deleted.

Reproducing the bug

Delete an authenticated user via admin API. Then let the authenticated user interact with auth or profile elements.

Logs

No response

Configuration

No response

Hanko Version

0.9.0

OS Hanko Backend

None

OS Version Hanko Backend

No response

OS

None

OS Version

No response

Browser Version

No response

Environment

None

Additional Context

No response

@FlxMgdnz FlxMgdnz added the bug Something isn't working label Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant