Closed pashtet04 closed 1 year ago
Tried to add to ingress rule:
annotations:
nginx.ingress.kubernetes.io/session-cookie-samesite: None
nginx.ingress.kubernetes.io/session-cookie-conditional-samesite-none: "true"
and now, i am authorized without that error, but it redirects me back on login page
This is a correct one annotations:
annotations:
nginx.ingress.kubernetes.io/session-cookie-samesite: None
nginx.ingress.kubernetes.io/session-cookie-conditional-samesite-none: "false"
But now I've got an error Unknown user with identity ''. Contact the system administrator.
which is not related to the topic.
What steps will reproduce the bug?
NiFi Cluster values
Unauthorized error="invalid_token", error_description="An error occurred while attempting to decode the Jwt: Signed JWT rejected: Another algorithm expected, or no matching key(s) found", error_uri="https://tools.ietf.org/html/rfc6750#section-3.1"
Some cookies are misusing the recommended “SameSite“ attribute 2
What is the expected behavior?
Login successful
What do you see instead?
Unauthorized error="invalid_token", error_description="An error occurred while attempting to decode the Jwt: Signed JWT rejected: Another algorithm expected, or no matching key(s) found", error_uri="https://tools.ietf.org/html/rfc6750#section-3.1"
Possible solution
No response
NiFiKop version
8d5f68f45188b43a687f66208f79401e9a3a4dd0
Golang version
1.20.5
Kubernetes version
Client Version: version.Info{Major:"1", Minor:"27", GitVersion:"v1.27.3", GitCommit:"25b4e43193bcda6c7328a6d147b1fb73a33f1598", GitTreeState:"archive", BuildDate:"2023-06-15T08:14:06Z", GoVersion:"go1.20.5", Compiler:"gc", Platform:"linux/amd64"} Kustomize Version: v5.0.1 Server Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.8", GitCommit:"fdc77503e954d1ee641c0e350481f7528e8d068b", GitTreeState:"clean", BuildDate:"2022-11-09T13:31:40Z", GoVersion:"go1.18.8", Compiler:"gc", Platform:"linux/amd64"}
NiFi version
1.19.0
Additional context
No response