SigNoz/signoz

[authn] handle invalid invitation token gracefully in signup page

Fechada

#7.011 aberto em 3 de fev. de 2025

 (7 comentários) (0 reação) (2 responsáveis)TypeScript (976 forks)batch import
authenticationfrontendgood first issue

Métricas do repositório

Stars
 (16.037 estrelas)
Métricas de merge de PR
 (Mesclagem média 5d 22h) (224 fundiu PRs em 30d)

Description

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

Guia do colaborador