Right now if you have an active session in the tools app and you logout from Discourse, when you visit the tools and go to the /login route, it doesn't refresh the session and tries to uses the old one. This causes the header to go out of sync with the app.
To solve this, the /login endpoint in other apps should always refresh the session with Discourse, instead of returning if they already have a session.
To reproduce this issue do the following:
Login in the tools app
Go to the community and log out
Go back to the tools and it won't let you log in again.
Tasks
[ ] Make the /login endpoint in the tools to always refresh the session.
Acceptance criteria
Users that end the session in the community, should be able to login in the Discourse
Right now if you have an active session in the tools app and you logout from Discourse, when you visit the tools and go to the
/login
route, it doesn't refresh the session and tries to uses the old one. This causes the header to go out of sync with the app.To solve this, the
/login
endpoint in other apps should always refresh the session with Discourse, instead of returning if they already have a session.To reproduce this issue do the following:
Tasks
/login
endpoint in the tools to always refresh the session.Acceptance criteria