Skip to content

fix(ui): Move /auth/login/ outside of views/app route#18994

Merged
billyvg merged 2 commits into
masterfrom
fix/ui/move-route-auth-login-exp-spa
May 26, 2020
Merged

fix(ui): Move /auth/login/ outside of views/app route#18994
billyvg merged 2 commits into
masterfrom
fix/ui/move-route-auth-login-exp-spa

Conversation

@billyvg

@billyvg billyvg commented May 22, 2020

Copy link
Copy Markdown
Member

This moves our experimental /auth/login/ route outside of views/app. views/app expects the user to already be logged in. This fixes an issue where when you login via experimental SPA, you do not have a list of organizations to choose from since the request was made when you were logged out in the login screen.

Comment thread src/sentry/static/sentry/app/main.tsx Outdated
Comment on lines 20 to 21

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moving these up to encompass unauthed parts of the app since they depend on emotion.

@billyvg billyvg force-pushed the fix/ui/move-route-auth-login-exp-spa branch from 26bee90 to 6fdf543 Compare May 22, 2020 21:00
@billyvg billyvg requested review from a team and evanpurkhiser May 22, 2020 21:07
billyvg added 2 commits May 26, 2020 12:26
This moves our experimental `/auth/login/` route outside of `views/app`. `views/app` expects the user to already be logged in. This fixes an issue where when you login via experimental SPA, you do not have a list of organizations to choose from since the request was made when you were logged out in the login screen.
@billyvg billyvg force-pushed the fix/ui/move-route-auth-login-exp-spa branch from 655ed78 to d95882c Compare May 26, 2020 19:26
@billyvg billyvg merged commit 2d82c60 into master May 26, 2020
@billyvg billyvg deleted the fix/ui/move-route-auth-login-exp-spa branch May 26, 2020 19:55
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants