Skip to content

When SSO is enforced, invited users cannot accept the invite via invite URL #9361

@rohit1kumar

Description

@rohit1kumar

Bug description

When SSO is enforced, invited users cannot accept the invite via invite URL, On accessing https://signoz.example.com/signup?token=0199ee2e, the user sees the error message "Something went wrong".

The underlying API call is:

curl 'https://signoz.example.com/api/v1/invite/accept' \
  -H 'Content-Type: application/json' \
  --data-raw '{"password":"","token":"0199ee2e","sourceUrl":"https%3A%2F%2Fsignoz.example.com%2Fsignup%3Ftoken%3D0199ee2e"}'

The API response is:

{"status":"error","error":{"code":"invalid_password","message":"password must be at least 12 characters long..."}}
Image

Expected behavior

Invited users should be able to accept the invite without requiring a password when SSO is enforced.

How to reproduce

  1. Log in to dashboard → Settings → Members & SSO
  2. Configure domain, Google Auth credentials & enable enforce SSO
  3. Invite a user and open the invite URL → "Something went wrong" appears

Version information

  • Signoz version: 0.96.1 (selfhosted)
  • Browser version: Chrome
  • Your OS and version: NA
  • Your CPU Architecture(ARM/Intel): NA

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions