MemeLabs / Rustla2

Livestream viewing with chat
https://strims.gg
MIT License
44 stars 24 forks source link

make login process more user-friendly #88

Open xDashh opened 6 years ago

xDashh commented 6 years ago

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!

kenany commented 6 years ago

Does this belong in chat-gui or the chat backend instead?

xDashh commented 6 years ago

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.

slugalisk commented 6 years ago

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.

kenany commented 5 years ago

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).