-
-
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
hydra token user's callback url is hardcoded #307
Comments
No, unfortunately it's not at the moment. But you can easily work around this by replacing |
Yeah, I see, thank you. |
Yes, it's primarily for demo purposes. Yes, for a new redirect url you would have to write an OAuth2 app and create an OAuth2 client in Hydra that allows that redirect url |
I see, thanks. |
@arekkas How do I set the redirect url while creating a new client; as far as the hydra CLI is concerned the "hydra clients create" automatically generates the client_id and client_secret and does not ask for the redirect URL. The documentation also does not mention anything about setting redirect_url for the new client. Can you please help me here? |
|
@arekkas thanks for your prompt response i tried that as well;
Event with this the callback listener is set to localhost
|
|
hi, @wangyun I am facing the same issue as you faced As @aeneasr suggested the set required to host and port I did but the error is still same.
Maybe callbacks URL is still hardcoded!!
|
No it's not hardcoded, the URL in your browser shows 172.18.0.1, your callback URL here shows 127.0.0.1. That's two completely different domains, which might cause the error. |
Thank you for quick response @aeneasr If it was not the hardcoded than why the redirect url is |
No, with
|
sorry @aeneasr but I didn't get it how to fire this
Maybe I thought we can set only |
I got the same issue here... Here is my result of clients get --skip-tls-verify --id facebook-photo-backup
And I run "toker user" as the following with forcing redirect_uri to my ip address:
I can see the url link of "Authorize application" is: But after I clicked the link, the output is:
|
I follow the tutorial and it's working except the last step, which is redirect to the callback url, the url is hardcoded to "http://localhost:4445/callback".
Because I open browser on another machine, so this redirection will fail.
Is it possible to set this callback url?
Thanks.
The text was updated successfully, but these errors were encountered: