JWT Proxy auth procedure doesn't work for non root path #15430
Labels
kind/bug
Outline of a bug - must adhere to the bug report template.
severity/P1
Has a major impact to usage or development of the system.
Milestone
Describe the bug
When open a secured by JWT Proxy route on non-root path which has
cookiesAuthEnabled
flag set totrue
, it fails withError: Failed to authenticate: "Unknown error"
The error appears constantly, refresh doesn't help.
Che version
nightly
Steps to reproduce
https://routeilbfqo5h-che.192.168.99.106.nip.io/mini-browser/projects/angular-realworld-example-app/logo.png
)Error: Failed to authenticate: "Unknown error"
message appears.Expected behavior
Auth cookie is set and page redirected to the expected target.
Screenshots
Environment
minishift v1.34.1+c2ff9cb
Che multiuser with TLS (self-signed certificate)
Installation method
chectl
Additional context
When firstly request root path of the route and then any non-root path everything works as expected (as auth cookie is set by first request).
JWT Proxy env
The text was updated successfully, but these errors were encountered: