-
-
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
Out of Band OAuth2 Authorization #1033
Comments
Since we don't implement UIs in ORY Hydra (and won't change that) this has to be solved another way. Maybe use a redirect URL which shows the authZ code used for pasting? |
Then hydra can redirect to URL that can be a part of login, consent or other provider. And that provider render page according to other OAuth2 implementations that support oob. |
As such, this will not be added to ORY Hydra but I'm sure you can work around this by implementing an app with a dedicated redirect url |
Closing due to reasons given above, feel free to elaborate if you think this is a bad decision or if you have questions on how to implement this yourself! |
I see that other OAuth2 providers, such as Azure, also have it. The use-case for that is when you don't have a web-server, like a CLI utility that shares a link to start OAuth2 flow and wants you to paste back the code once flow is over. |
Do you want to request a feature or report a bug?
I want to request a feature
What is the current behavior?
When
urn:ietf:wg:oauth:2.0:oob
orurn:ietf:wg:oauth:2.0:oob:auto
specified asredirect_uri
, the HTTP 302 redirect forwards browser to specified url.What is the expected behavior?
After successful completion of auth flow instead of redirecting to
redirect_uri
the browser goes to hydra page with the following header:The page itself contains the information about authentication.
For
urn:ietf:wg:oauth:2.0:oob
:For
urn:ietf:wg:oauth:2.0:oob:auto
:More information about the OOB urls can be found here.
Which version of the software is affected?
1.0 beta 9
The text was updated successfully, but these errors were encountered: