Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

login redirect doesn't redirect to correct locale #103

Open
johnyang90 opened this issue Oct 27, 2021 · 3 comments
Open

login redirect doesn't redirect to correct locale #103

johnyang90 opened this issue Oct 27, 2021 · 3 comments

Comments

@johnyang90
Copy link

Hi, I impemented the Gigya login to my drupal site, my site has 2 languages (EN & MS), but when users login from MS site, they were redirected back to the site in EN. How could we make it to redirect based on the language before user login?

@johnyang90
Copy link
Author

Forgot to mention this is on Drupal 8 Gigya module.

@bmunslow
Copy link

I was able to fix this issue by implementing hook_gigya_post_login_redirect_alter() in a custom module and appending the prefix of the current language to the redirect URL.

@amansrivastava
Copy link

This PR #147 fixes this issue. It adds the locale prefix in the redirect URL for both login and logout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants