harbor: State mismatch when login via oidc
Hi,
I get an error when I try to connect to Harbor with an oidc (Google).
It seems that there is not state value in session. I don’t know why. Logs:
[ERROR] [/core/controllers/oidc.go:76]: State mismatch, in session: %!s(<nil>), in url: 2pG0sDHtGx32UgFPRlDCag8CVdR17Qkf
I was able to connect for a few hours, for no reason I can’t anymore. There was no restart or change of configuration.
Versions:
- harbor version: 2.1.0
- docker engine version: 19.3.12
- kubernetes version: 1.15.0
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 3
- Comments: 35 (10 by maintainers)
@reasonerjt
I use Helm for installation and yes it’s the internal Redis.
I can reload or go in incognito mode it’s the same error. I can only login one time per 24h (approximately)