-
-
Notifications
You must be signed in to change notification settings - Fork 106
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
Authentik OIDC: "Cannot complete user auth: securecookie: the value is too long: 4140" #212
Comments
Tried looking into this further this evening, seems like there's no easy(?) way to override MaxLength for CookieStore and doing so would break stuff, see: gorilla/sessions#109 (comment) Seems like the suggested approach is to use a different store such as FilesystemStore |
Seems like naively replacing CookieStore with FilesystemStore works, and I can sign-up/sign-in via Authentik SSO now. I have no idea how much/if it breaks anything, but so far it everything seems to be working.
|
i thought about FilesystemStore also, but I have to make sure it's properly working |
Also considering a way to choose Redis for the session system but it might add a small complexity to maintain the infrastructure as a whole |
If it's optional, then having an another option to use it should be left to the user. Personally, I'd prefer the FilesystemStore as default if possible. |
This issue was previously disscussed in #148, however I'm moving the discussion here so it can be found more easily, and that there won't be two conversations about two separate issues happening in one thread at once.
When trying to sign-in through Authentik, the user receives the following error:
There is also a discussion happening in the upstream project that opengist uses for OAuth in Go: markbates/goth#463
The text was updated successfully, but these errors were encountered: