I created a project and added a custom domain, but...
# ory-network
c
I created a project and added a custom domain, but for me ory cli’s
ory perform authorization-code …
wasn’t working with
No CSRF value available in the session cookie
. However when did the same with a free tier project its working fine. Now I removed the custom domain too but still auth redirects are going to my initial custom domain. Is there any cache configured for this? what is TTL. If now how we fix these? @high-optician-2097 / @fast-lunch-54279 any insights.
Even combining with 1. ory tunnel http://127.0.0.1:5555 --project 2. ory perform authorization-code --client-id xx --client-secret xx --project xx --port 5555 --scope openid,offline --auth-url http://localhost:4000/oauth2/auth --token-url http://localhost:4000/oauth2/token Doesn’t seems to work. What am I missing?
h
Hey, that’s interesting. Could you please create an issue at github.com/ory/network with a reproducible test case? We can then follow up
c
Sure
s
This has bitten me, too. I tried to specify
--auth-url
and
--token-url
, and the CLI ignored those flags.
Ended up dropping down to hydra cli directly, where those same flags worked.
h
What version of the Ory CLI are you using?