Is this a bug report or feature request?
Describe the bug
The session validation seems a bit off to me. The line at
|
logger.Info("Failed to retrieve a valid session") |
indicates that
session.IsNew == true means that the session is not valid. But according to
https://pkg.go.dev/github.com/gorilla/sessions#CookieStore.Get, this only means that the session is newly created
How to Reproduce
Expected behavior
Config Files
Logs
Environment:
Additional context
Add any other context about the problem here.
Is this a bug report or feature request?
Describe the bug
The session validation seems a bit off to me. The line at
oidc-authservice/authenticators/session.go
Line 49 in 0c4ea9a
session.IsNew == truemeans that the session is not valid. But according to https://pkg.go.dev/github.com/gorilla/sessions#CookieStore.Get, this only means that the session is newly createdHow to Reproduce
Expected behavior
Config Files
Logs
Environment:
Additional context
Add any other context about the problem here.