Please Log in or Create an account to join the conversation.
sabroso wrote: Hi there,
I found the following discrepancy about how the “after login redirect” works in CB Login module (1) and CB Connect(2).
(1) By CB Login Module I mean using the user ID and password to login on the CB Login module.
(2) By CB Connect Login I mean using any of the social login button (e.g Sing in with Facebook) - also on the CB Login module but I need to differentiate when not using the user ID and PWD.
The “after login” configuration for each scenario is in a different place in the back end:
- for login via user ID and PWD the redirect URL is configured in the CB module configuration
- for login via Facebook sign in the redirect URL is in the CB Connect plugin config, in the login tab.
This is OK because it offers flexibility for the redirection depending on the login method used.
If I configure the same redirect URL for “after login redirect” in both places it works fine in both cases.
The problem I have is when I leave this redirect URL field blank in both cases because it does not behave the same way:
- If the user logs in with user id and password then the same page the user was at is relodaded but with the user logged in → this is the desired behaviour
- However if the user logs in via facebook button the user is redirected to the home page instead of staying in the same page where he logged in → this is undesirable because it does not allow me to include the CB login module in a shopping cart checkout process for example.
Can you reproduce the issue? Is there a solution?
NOTE: In the community builder system plugin I have the option “Pass return URL” enabled.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Works fine in my tests, but you don't have access to latest builds. Your issue is likely already fixed. Right click and inspect element on one of the buttons to see if &return= is in the button URL. Again, as we do build releases I've no idea if you're up to date.- However if the user logs in via facebook button the user is redirected to the home page instead of staying in the same page where he logged in → this is undesirable because it does not allow me to include the CB login module in a shopping cart checkout process for example.
Please Log in or Create an account to join the conversation.