Keep current language after saml login

Created on 24 March 2025, 10 months ago

In a multingual website, when we submit the login form, we are logged in wih keeping the active language. example :
user login form page : /fr-fr/user/login
after login: /fr-fr/user/user-id

this is not the same with the samlauth, the user is redirected to the the default language after login because the url is always "/saml/login" whatever the current language.

The only case to make it work is to use language prefix in the saml login root and force to have a destination url, example : /fr-fr/saml/login?destination=/user

in this case the path_processing option must ne TRUE in the saml.login root.

Does anyone have any feedback on this issue?

💬 Support request
Status

Active

Version

3.0

Component

Code

Created by

🇹🇳Tunisia medwassim

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024