Issue with proxy and oidc (Discord) #112
thecodeassassin
started this conversation in
General
Replies: 1 comment 2 replies
-
Unfortunately you have found one of the limitations we are currently facing with OIDC on local systems :( It is at the moment not possible to perform OIDC flows when using the Ory Proxy / Ory Tunnel. We are still trying to figure out how to address this. One way to do it manually is to just change the URL in the browser: -https://<ory-cloud-project-slug>.projects.oryapis.com/self-service/methods/oidc/callback/discord?code=...
+http://localhost:5000/self-service/methods/oidc/callback/discord?code=... |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
We are currently using Kratos (via Ory Cloud) to build our user system. We want to offer our users the following sign-in/registration methods:
We successfully added Discord via the guide on this page:
https://www.ory.sh/docs/guides/social-signin/discord#mapping
But it's never redirecting back to my local environment. It always redirects to
How can i configure Kratos to always redirect back to the domain I am testing on (in this case my local domain). The local URL is added in the allowed redirects in Discord. We'd like the login to return us to the same URL we set in the ?return_to query parameter when we start the signin flow.
We are running Ory Proxy locally, everything works fine for email authentication.
Beta Was this translation helpful? Give feedback.
All reactions