logto-io / logto

🧑‍🚀 The better identity infrastructure for developers and the open-source alternative to Auth0.
https://logto.io
Mozilla Public License 2.0
8.66k stars 439 forks source link

bug: Can not use redirect URI other than /callback in next app #6353

Closed Klucherev closed 3 months ago

Klucherev commented 3 months ago

Describe the bug

I've changed default callback URI for my next.js app in LogTo admin console from http://localhost:4000/callback to http://localhost:4000/auth/callback and get error 'redirect_uri did not match any of the client's registered redirect_uris'. Is it possible to use random callback uri with LogTo? Maybe i missed some settings in LogtoNextConfig?

Expected behavior

MauruschatM commented 1 month ago

Same issue for me. Still a bug?