This message was deleted.
# general
m
This message was deleted.
s
make sure that the redirect URL (from auth0 to Ory) is set up correctly
what URL are you on when you see that error?
t
I'm at /authorize?client_id=CLIENT_ID&redirect_url=ORY_REDIRECT_URL&response_type=code&scope=openid+profile+email&state=NONCE
The redirect URL is the one that's specified in the UI
I'm trying to sign in from the default UI
Kind of looks like the redirect to Auth0 itself is what's failing.
s
hm but you are on your Ory Network slug/custom domain host, right?
t
Yep, accessing through my Ory network slug
Ex:
Copy code
<https://my-project-slug.projects.oryapis.com/ui/login?flow=FLOW_ID>
s
maybe the docs page is not very clear on the Ory Console variant, but the Ory CLI version says
In the created app, set the redirect URI to:
Copy code
https://{project.slug}.<http://projects.oryapis.com/self-service/methods/oidc/callback/auth0|projects.oryapis.com/self-service/methods/oidc/callback/auth0>
https://www.ory.sh/docs/kratos/social-signin/auth0
t
I've set that URL as the callback url in the Auth0 application.
s
did you verify that auth0 redirects you to that one?
according to https://auth0.com/docs/authenticate/protocols/oauth#authorization-endpoint I would expect that you should end up on some auth0 hosted consent screen
t
Yeah that’s my expectation as well, but I’m never redirected to the Auth0 login screen, it just serves the error. I’ll try to verify that auth0 redirects to the correct ORY callback url
s
ok can you send me your project URL so I can also take a look on the redirects?
yeah looks like there is an issue in the UI, it should prompt you for the auth0 tenant endpoint as a workaround, you can use the Ory CLI:
Copy code
ory patch identity-config PROJECT_ID --replace '/selfservice/methods/oidc/config/providers/0/issuer_url="<https://TENANT.auth0.com>"'
assuming you have enabled OIDC, and auth0 is your first provider
t
Gotcha! I haven't set up anything in the identity config regarding OIDC though, might that be the problem, or is it just a general bug in the UI?
s
when you enable auth0 in the Ory console, that's basically what happens in the background, but it is currently missing the issuer URL
t
Gotcha 👍 Thanks so much for helping me out with this!
s
np, sorry for the hickups
t
no worries!