Missing csrf token while customizing the login. Ne...
# talk-oathkeeper
s
Missing csrf token while customizing the login. Need help on this.
t
Can you share your exact error and your config please?
s
access-rules.yml-
- id: "evokelogin flowanonymous" upstream: preserve_host: false url: "https://dev.playground.com:9949/auth/v1/login/browser" match: url: "http://dev.playground.com:4455/" methods: - GET authenticators: - handler: anonymous authorizer: handler: allow mutators: - handler: noop - id: "evokelogin uianonymous" upstream: preserve_host: true url: "https://dev.playground.com" match: url: "http://dev.playground.com:4455/login" methods: - GET authenticators: - handler: anonymous authorizer: handler: allow mutators: - handler: noop
In kratos:
Copy code
login:
  ui_url: <http://dev.playground.com:4455/login>
I could able to get the flow in https://dev.playground.com but cookie (csrf token) not added to browser.
t
Can you see a
set-cookie
header in the response?
s
yes i have seen in the oauth_keeper docker logs
but when redirected to configured ui_url , i could not see the cookie.
Is there any way to get the cookie ??