Skip to content
This repository has been archived by the owner on Dec 7, 2020. It is now read-only.

[error] the cookie is set to secure but your redirection url is non-tls #690

Open
antonstanov opened this issue Oct 26, 2020 · 0 comments
Open

Comments

@antonstanov
Copy link

antonstanov commented Oct 26, 2020

Hello! I run gatekeeper for my angular app with this config:

docker run -it --rm quay.io/louketo/louketo-proxy \
  --discovery-url https://smthg-site.com/iam/auth/realms/dev \
  --client-id app-test \
  --client-secret 12345678-0d51-4f16-912f-7431a40a0015 \
  --listen 0.0.0.0:3000 \
  --redirection-url http://localhost:3000 \
  --upstream-url http://localhost:4200 \
  --preserve-host true \
  --enable-default-deny true \
  --secure-cookie false \
  --enable-encrypted-token true \
  --enable-refresh-tokens true \
  --encryption-key 12345666666666765dg66666666sfd23 \
  --enable-logging true \
  --enable-json-logging true \
  --resources = "uri=/*|white-listed=true" \
  --resources = "uri=/public/*|white-listed=true"

I get the error in the terminal: "[error] the cookie is set to secure but your redirection url is non-tls". Deleting or changing the value of the secure-cookie field does not work. Prop discovery-url must be prefixed with https required

System: macOS Catalina

help plz

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant