getsentry / getsentry/sentry

Page not loading when trying to set up 2FA while joining an organisation

Open
#84,292 16 comments 1 reaction 0 assignees View on GitHub
Bug Product Area: Settings - Auth
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
22h 21m
Merged PRs (30d)
586

Description

### Environment

SaaS (https://sentry.io/)

### Steps to Reproduce

The organisation owner:
1. Enforce 2FA in your organisation
2. Invite a new member who does not have 2FA to join the organisation

The new member:
1. Open the invite email and click Join organisation
2. Create a new account or log in with existing one (the issue happens in both cases)
3. Click on "Configure Two-Factor Auth" as prompt by the UI

### Expected Result

The user is redirected to the security page to set 2FA.

### Actual Result

Similar to the issue reported in https://github.com/getsentry/sentry/issues/47146, the page does not load. The network tab does not show any requests.

The workaround is to go directly to `https://{{org slug}}.sentry.io/settings/account/security/` or `https://sentry.io/settings/account/security/` to set up 2FA.

### Product Area

Settings - Auth

### Link

_No response_

### DSN

_No response_

### Version

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.