getsentry / getsentry/sentry

Self hosted login opens wrong url

Open
#82,078 17 comments 2 reactions 1 assignee Claimed by @evanpurkhiser View on GitHub
Auth Bug Product Area: Settings - Auth Waiting for: Product Owner
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
22h 21m
Merged PRs (30d)
586

Description

### Environment

self-hosted Sentry

Windows Computer
sentry-cli-Windows-x86_64.exe
version 2.30.5

### Steps to Reproduce

#### Using the command Line:

sentry-cli-Windows-x86_64.exe --url [https://sentry.example.com/]() login

This helps you signing in your sentry-cli with an authentication token.
If you do not yet have a token ready we can bring up a browser for you
to create a token now.

Sentry server: [sentry.example.com]()
Open browser now? \[y/n\] y

### Expected Result

Relevant Settings Page pops up.

e.g.: \~\~[https://sentry.example.com/settings/account/api/auth-tokens/\~\~]() (edit by @szokeasaurusrex: this URL is for user auth tokens, `sentry-cli login` should direct people to the org auth token URL, listed below)
or: [https://sentry.example.com/settings/\[org-slug\]/auth-tokens/]()

### Actual Result

"Page Not Found"
[https://sentry.example.com/orgredirect/organizations/:orgslug/settings/auth-tokens/]()

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.