SigNoz/signoz
[authn] handle invalid invitation token gracefully in signup page
已關閉
#7,011 建立於 2025年2月3日
authenticationfrontendgood first issue
倉庫指標
- 星標
- (16,037 顆星)
- PR 合併指標
- (平均合併 5天 22小時) (30 天內合併 224 個 PR)
描述
Bug Description
In case of invalid/used/expired invitation tokens, we still show the Sign Up page which is an invalid state to be at.
As the outcome after filling the sign up page would be this:
Expected Behaviour
Ideally, we should redirect the users to the Login Page where we should display the error message: "invalid/used/expired invitation token. Please contact your admin."
How to Reproduce
- Create a user invitation
- Use the invitation once, log out, and use the same link again
- Or update the invitation token from the URL to something else
Version Information
- Signoz version:
latest - Browser version: NA
- Your OS and version: NA
- Your CPU Architecture(ARM/Intel): NA
Additional Context
NA