Skip to content

I cannot deploy kratos + secureapp in my test environment (no docker setup). redirect loop... #1658

Answered by emrahcom
emrahcom asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks @aeneasr, I can get login screen after adding the following lines in my kratos.yml

cookies:
  domain: mydomain.corp
  path: /
  same_site: Lax

session:
  cookie:
    domain: mydomain.corp
    path: /
    same_site: Strict

But there are some points which are not clear for me

  • What are the differences between these two blocks? (cookies vs session.cookie)
  • There is a line in guide such as
  1. Unless --dev is set, Ory Kratos' cookies are only sent over HTTPS.

Does this mean I cannot use http as a scheme for SecureApp's KRATOS_ADMIN_URL and KRATOS_PUBLIC_URL in production? I didn't set dev mode for Kratos and it seems working with http (I mean I can get login page with a flow id)

  • When…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@aeneasr
Comment options

@emrahcom
Comment options

@vinckr
Comment options

@emrahcom
Comment options

Answer selected by emrahcom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants