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
Setting container‘s timezone makes OAuth unusable #3005
Comments
I experienced the same issues with oauth and saml. Simply following the configuration description, which does not tell anything about mounting Timezone or setting an environment, is the success. I did not experience any disadvantages of not configuring/mounting the timezones. Authenik does everything right, all is logged in UTC and shown to the user localized. So either fixing this issue or extending the configuration documentation with a warming would be okay from my perspective. |
The server assumes that it's local timezone is UTC as configured here https://github.com/goauthentik/authentik/blob/master/authentik/root/settings.py#L321 |
It seems like this could easily be supported by using django's |
failed to register layer: unlinkat /usr/local/lib/python3.11/site-packages/pkg_resources/_vendor/pyparsing/diagram: invalid argument can pull the image |
To make it easier analyzing log files, I mounted /etc/timezone to all my containers. But when I do that for my authentic containers this will result OAuth timestamps where delivered to the application with the current time, in my case utc+2, instead of delivering current utc time.
The text was updated successfully, but these errors were encountered: