Open xDashh opened 6 years ago
Does this belong in chat-gui or the chat backend instead?
I'm not sure how the whole process works. Probably at least partly it would have to be addressed in chat-gui to e.g. append a redirect URL if the login-process is started via the chat.
it's a bit of both... the frontend needs to add a url to the oauth redirect endpoint link to dictate where users should go after logging in. the backend needs to store it somewhere (probably the oauth state) before starting the oauth workflow then use it when they return.
Adding backend
label as-per above discussion. May still require changes in the other repos I mentioned (dunno if that qualifies for an external
label as well).
People logging in through the chat should be redirected to chat again after the login process (or whatever site they were on previously). Not sure if it's feasible to make open chat-windows reload upon login, generally, but most people would only use a single window/tab anyway.
Keep in mind that on first signup the redirect to profile is warranted because people have to set a name first!