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

Updating dependencies breaks login: securecookie: hash key is not set #549

Open
lesichkovm opened this issue Apr 20, 2024 · 0 comments
Open

Comments

@lesichkovm
Copy link

lesichkovm commented Apr 20, 2024

Not sure why you need the gorilla/sessions package but updating the intenal depemdencies to the latest version breaks gothic login:

github.com/gorilla/securecookie v1.1.1 // indirect
github.com/gorilla/sessions v1.2.2 // indirect

Upgrading to:

github.com/gorilla/securecookie v1.1.2 // indirect
github.com/gorilla/sessions v1.2.1 // indirect

Causes the login to fail with the message displayed on the screen

securecookie: hash key is not set

In addition the following message is displayed:

goth/gothic: no SESSION_SECRET environment variable is set. The default cookie store is not available and any calls will fail. Ignore this warning if you are using a different store.

Note! I do not use the default cookie store, so I ignore this message.

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

1 participant