-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Language setting not applied when signing in via SSO #16995
Comments
I can confirm this behavior with external auth. For reference, we have the following set in the netbox config:
Environment: self-hosted, Netbox 4.0.7, Python 3.12 |
@salfers I checked it using AzureAD and cannot confirm/reproduce your behavior. Was your user created by SSO or did it already exist? |
@m2martin In my case the user already existed. I'm using the following configuration parameter settings:
|
With |
@m2martin No, I cannot confirm the behavior. The language stays on the browser default and the user preferences have no impact. What I did No change in language. I can only get it to switch to English (the users perference) by opening the user preferences and then Clicking "save" |
I'm doing the same and can not confirm it. Can you please try it with v4.0.8? This is the most obvious difference between our tests. |
@m2martin I'm running 4.0.8 since a few days. There was no change in behavior between 4.0.8 and 4.0.7. |
We are having the same issue. |
FWIW, I also have set |
I think, I found it. Is |
@m2martin Yes, I have Other settings:
|
@arthanson I have a fix ready. You can assign it to me. Root cause: |
@m2martin I've assigned this to you, thanks. |
Deployment Type
Self-hosted
NetBox Version
v4.0.7
Python Version
3.11
Steps to Reproduce
Bonus: if you log in via password everything works correctly.
Expected Behavior
4. Language from user settings is applied
Observed Behavior
4. The automatically detected language is used
You can see that the language cookie is not being created:
The text was updated successfully, but these errors were encountered: