-
Notifications
You must be signed in to change notification settings - Fork 981
Device Authorization Grant support #763
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
base: master
Are you sure you want to change the base?
Conversation
|
Just wondering, is there any progress on this PR? |
|
tes h&h ArFN Deso |
|
Is there any update about this PR ? |
|
Any news on this? |
|
I've just tested this and it works. I only found a typo in the readme: authService.performTokenPollRequestRequest has to times Request at the end, it should be Any update when this will be implemented? |
|
Nice work. |
|
@blundell is there anything we can do to help make this merge happen? |
I could merge it, but I don't have the authority or admin to make a release sorry. I am not sure who has either |
Checklist
Motivation and Context
As described in issue #675, AppAuth-Android does not currently support authentication for Android devices that either lack a browser or have limited input capabilities to fully perform the traditional authentication flow. Adding support of the extension Device Authorization Grant as described in RFC 8628 would allow such devices to obtain tokens from the authorization server with the help of a secondary device with browser and common input capabilities.
Description
The implementation follows the Device Authorization Grant - RFC 8628 and exposes the following:
DeviceAuthorizationRequestwith its associatedDeviceAuthorizationResponseurn:ietf:params:oauth:grant-type:device_codein the TokenRequest BuilderAuthorizationServiceAuthStateto properly handle the new authorization statesAs of today, there is no proper way for the user to sign off from devices without a browser, as this would require the extension Token Revocation - RFC 7009 that I would gladly implement after this one.