istio-ecosystem / authservice

Move OIDC token acquisition out of your app code and into the Istio mesh
Apache License 2.0
217 stars 63 forks source link

E1222 b64.cc:168] Invalid padding detected. #125

Closed bruegth closed 3 years ago

bruegth commented 3 years ago

After User auth I got this error message while callback request:

[2020-12-22 16:42:18.242] [console] [trace] New
[2020-12-22 16:42:18.242] [console] [trace] New: using InMemorySession Store
[2020-12-22 16:42:18.242] [console] [trace] OidcFilter
[2020-12-22 16:42:18.242] [console] [trace] Process
[2020-12-22 16:42:18.242] [console] [debug] Call from @172.28.32.25 to @172.28.32.25
[2020-12-22 16:42:18.242] [console] [info] GetSessionIdFromCookie: __Host-kc-access-isp-authservice-session-id-cookie session id cookie missing
[2020-12-22 16:42:18.242] [console] [info] Process: No session cookie detected. Generating new session and sending user to re-authenticate.
[2020-12-22 16:42:18.242] [console] [trace] Request processing complete
[2020-12-22 16:42:18.243] [console] [trace] Processing completion and deleting state
E1222 16:42:26.884329018      16 b64.cc:168]                 Invalid padding detected.
E1222 16:42:43.155350967      16 b64.cc:168]                 Invalid padding detected.

Cookie e.g.: __Host-kc-access-isp-authservice-session-id-cookie=Qzbh7rF6UpWIhhstwRp2ptQjB9SUT0ZNLvRNpWVoDCSqy614dvmtajmpB2LFWRAgpR7K9wz44hy3KaDULAu1xA

Any idea what can be the reason?

I'm using docker image from scratch (master).

bruegth commented 3 years ago

My fault I've send it directly to authService.