julianlam / nodebb-plugin-sso-twitter

NodeBB Plugin that allows users to login/register via their Twitter account.
BSD 2-Clause "Simplified" License
9 stars 8 forks source link

login link from a topic page doesnt end-up in the topic page #10

Open fczuardi opened 9 years ago

fczuardi commented 9 years ago

I am not sure if this is a nodebb login bug or sso-plugin bug (or a duplicate), so I am filing it here first…

When reading a topic on nodebb with this plugin installed, and with the user logged out, if the user starts the login/register procedure from the "login" link at the top or the "reply" button at the bottom, and authorizes twitter, she is not redirected back to that topic, but the forum home instead.

This doesn't happen if you use the regular non-oauth login.

Steps to reproduce:

Expected behavior:

The user is sent back to where she started the login/register flow.

Actual behavior:

The user is redirected to the forum home page.

This happens with the -sso-github plugin as well