-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implicit Flow redirect_uri does not match #133
Comments
Hi @matteosuppo, I think this is probably the same issue that I had a little while back. See https://github.com/ory-am/fosite/blob/dfb047d52b75b5d8a28bcd8d70a3e139da289da1/authorize_helper.go#L96 .. you 'll want to either specify https or somehow use the localhost IP. |
Yes, that's definitely it. Thank you. |
BTW, I think you might also need to specify an 8-char |
Uhm no, it gives me the same issue even if I use https and a 8char nonce |
did you update it in your client definition as well as the redirect_uri URL query param? The query param has to be one of the (potentially multiple) registered against the client. |
Yes, now it's |
Tomorrow I'll try to run hydra with a lot of custom log.Print() |
FWIW, I've got a lot of mileage from the vscode golang debugger integration. You can connect to a remote host, set breakpoints and single-step code. See https://github.com/Microsoft/vscode-go#optional-debugging. I'm running this on a remote host as
then configure a vscode debugger launch.json as:
It doesn't take that long to get setup, and it's saved me a ton of custom log prints 😃 |
Hey yes, that should be clarified in the docs. The empty path always defaults to |
By debugging I found out that the trailing / in the redirect_uri from database was the culprit. I'll never mistrust hydra again, I am ready to comply. |
this is now documented in the faq section in the readme. |
Hi @matteosuppo @aeneasr @boyvinall Facing the same issue by following tutorial when i set all localhost and callback url as a my server's IP |
Hello, I have this client
I'm trying to login with the implicit flow with this url:
http://localhost:4444/oauth2/auth?client_id=test&response_type=token&state=statestate&scope=core&redirect_uri=http%3A%2F%2F172.17.0.2%3A3000
Hydra gives me this error:
Is there a way to investigate what am I doing wrong?
The text was updated successfully, but these errors were encountered: