Back

[OpenID Connect] Logto IdP with Appwrite Self-hosted instance

  • 1
  • Self Hosted
  • Auth
  • Web
Li
20 Dec, 2024, 23:36

I use Convex and Appwrite for my projects, and to solve the authorization problem, I decided to connect Logto as a single authorization center for all projects and subprojects. But it is when configuring Appwrite using Logto that I get the OpenID error, who in practice has encountered such an error? How can this be solved?

{ "code": "oidc.invalid_redirect_uri", "message": "redirect_uri did not match any of the client's registered redirect_uris.", "error": "invalid_redirect_uri", "error_description": "redirect_uri did not match any of the client's registered redirect_uris", "state": "{"success":"http:localhost:3000auth","failure":"http:localhost:3000","token":false}", "iss": "http://localhost:3001/oidc" }

TL;DR
Developers are encountering an OpenID error (oidc.invalid_redirect_uri) when trying to configure Appwrite with Logto. The error message indicates that the redirect_uri does not match any of the client's registered redirect_uris. The solution to this issue involves ensuring that the redirect_uri provided in the configuration matches one of the client's registered redirect_uris. This should resolve the problem.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more