SigNoz/signoz

[authn] handle invalid invitation token gracefully in signup page

已关闭

#7,011 创建于 2025年2月3日

 (7 条评论) (0 个反应) (2 位负责人)TypeScript (976 个派生)batch import
authenticationfrontendgood first issue

仓库指标

星标
 (16,037 个星标)
PR 合并指标
 (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

  1. Create a user invitation
  2. Use the invitation once, log out, and use the same link again
  3. 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

贡献者指南