Kinde returning Invalid callback URL, even though the URL is in our allowed list
After logging in, a request is made to Kinde for callback- GET https://<our_kinde_domain>/oauth2/auth?redirect_uri=http%3A%2F%2Flocalhost%3A5173%2F%23%2Fauth%2Fcallback
We get redirected to a Kinde error page that states the following
"""Looks like the allowed callback URLs in your Kinde application don’t include the one below
You provided
http://localhost:5173/#/auth/callback"""
However, we have added http://localhost:5173/#/auth/callback to our allowed callback urls for our Kinde application; we suspect Kinde is not allowing '#' in the callback URL.
1 Reply
probably because anything after # is the hash and not a real part of the URL
do you really have to use a hash router? i’d recommend against it unless absolutely necessary