faint-tent-43897
11/08/2022, 9:09 AMfast-lunch-54279
fast-lunch-54279
faint-tent-43897
11/08/2022, 9:37 AMfaint-tent-43897
11/08/2022, 9:43 AMfast-lunch-54279
steep-lamp-91158
high-optician-2097
high-optician-2097
faint-tent-43897
11/08/2022, 11:19 AMfaint-tent-43897
11/08/2022, 11:25 AMfaint-tent-43897
11/08/2022, 11:25 AMfaint-tent-43897
11/08/2022, 11:27 AMhigh-optician-2097
high-optician-2097
high-optician-2097
faint-tent-43897
11/08/2022, 12:47 PMhigh-optician-2097
selfservice.methods.oidc.config.base_redirect_uri
value. You should add your custom domain there, so e.g. <https://auth.example.org>
. I don’t think trailing slashes matter here, but let’s omit it. You can change the config value using the Ory CLI. There is docs on this here: https://www.ory.sh/docs/guides/cli/identity-cli
You can either do this by exporting the YAML, changing the relevant part, and importing. Or by using patch. I guess it would be something along the lines of:
ory patch identity-config <project-id> \
--replace '/selfservice/methods/oidc/config/base_redirect_uri="<https://auth.example.org>"'
If replace does not work (the patch API needs a bit of work on our end for better resilience …) you can try add:
ory patch identity-config <project-id> \
--add '/selfservice/methods/oidc/config/base_redirect_uri="<https://auth.example.org>"'
Please be aware that this will impact all your oauth2 redirect URLs and social sign in providers. It also means that we can not fix the value for you if something changes with regards to your custom domain etc. We do have tests for this case, but we try to keep it streamlined for most projects. So maybe add this to some internal documentation that this is how you changed it so that others in your team know :)high-optician-2097
high-optician-2097
wonderful-lamp-2357
11/08/2022, 2:42 PMfaint-tent-43897
11/08/2022, 2:59 PMhigh-optician-2097
magnificent-energy-493
magnificent-energy-493
faint-tent-43897
01/23/2023, 5:14 PMory update identity-config ...