Unable to login after upgrade to 1.15
-
@rcauquil Please apply the changes here https://github.com/NodeBB/NodeBB/commit/5d00b0895b0db961775b22ba6fff0b52fa7c4a0b
It will go back to the 1.14.x version of the redirect but also fix the "%5Bobject%20Object%5D" issue that was mentioned earlier in this topic.
Let me know if it works now.
-
I have tested the fix on this forum with just the facebook sso plugin enabled and it worked as expected. Cold loading /login redirects to facebook login and clicking on the login button gets back
{external: '/auth/facebook'}
which also triggers the facebook auth flow. -
This fix is included in 1.15.5 https://github.com/NodeBB/NodeBB/releases/tag/v1.15.5.
It only happens when you disable local login for registered users, change registration type to
No registration
and have 1 SSO plugin active. In this case cold loading the/login
route will automatically redirect to the auth route. Clicking the login link in the header will get{external: '/auth/route-to-sso'}
from the server and redirect to that route here.