OpenID hydra dex

F… Now follow step run, Get level=error msg=“An error occurred” debug=“No CSRF value available in the session cookie” description=“The request is not allowed” error=request_forbidden hint=“You are not allowed to perform this action.” If you run same broswer and restart docker or clear cookie, do many way. Just try broswer private mode. Try dex docker or binary failed, it’s be pass. Hydra docker-compose 1、get https://github.com/ory/hydra docker-compose -f quickstart.yml -f quickstart-postgres.yml up --build 注意 quickstart.yml run docker on host or run binary on host. hydra 5 minutes demo “IP Used” is 127.0.0.1 version: '3' services: hydra: image: oryd/hydra:latest ports: - "4444:4444" # Public port - "4445:4445" # Admin port - "5555:5555" # Port for hydra token user command: serve all --dangerous-force-http environment: - URLS_SELF_ISSUER=http://127.0.0.1:4444 - URLS_CONSENT=http://127.0.0.1:3000/consent - URLS_LOGIN=http://127.0.0.1:3000/login - URLS_LOGOUT=http://127.0.0.1:3000/logout - DSN=memory - SECRETS_SYSTEM=youReallyNeedToChangeThis - OIDC_SUBJECT_TYPES_SUPPORTED=public,pairwise - OIDC_SUBJECT_TYPE_PAIRWISE_SALT=youReallyNeedToChangeThis restart: unless-stopped consent: environment: - HYDRA_ADMIN_URL=http://hydra:4445 image: oryd/hydra-login-consent-node:latest ports: - "3000:3000" restart: unless-stopped run VM or real server is real ip. Ex: 192.168.99.100 (docker-machine) version: '3' services: hydra: image: oryd/hydra:latest ports: - "4444:4444" # Public port - "4445:4445" # Admin port - "5555:5555" # Port for hydra token user command: serve all --dangerous-force-http environment: - URLS_SELF_ISSUER=http://192.168.99.100:4444 - URLS_CONSENT=http://192.168.99.100:3000/consent - URLS_LOGIN=http://192.168.99.100:3000/login - URLS_LOGOUT=http://192.168.99.100:3000/logout - DSN=memory - SECRETS_SYSTEM=youReallyNeedToChangeThis - OIDC_SUBJECT_TYPES_SUPPORTED=public,pairwise - OIDC_SUBJECT_TYPE_PAIRWISE_SALT=youReallyNeedToChangeThis restart: unless-stopped consent: environment: - HYDRA_ADMIN_URL=http://hydra:4445 image: oryd/hydra-login-consent-node:latest ports: - "3000:3000" restart: unless-stopped If have cors problems. see https://github.com/ory/hydra/blob/master/quickstart-cors.yml ...

2019-06-06 · 3 min · 495 words · Me