Skip to content
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

Device Authorization Grant #962

Open
oliamb opened this issue Apr 13, 2021 · 3 comments
Open

Device Authorization Grant #962

oliamb opened this issue Apr 13, 2021 · 3 comments
Labels

Comments

@oliamb
Copy link

oliamb commented Apr 13, 2021

Hey, thanks a lot for the awesome library!

I just discovered this evening an extension to OAuth2, which is the Device Authorization Grant, defined in RFC https://tools.ietf.org/html/rfc8628.

I dig a bit on how rfc8628 relates to rfc6749 (OAuth2). I thought it was through the Native Application update at first. But no, they are just leveraging the extension grant from OAuth2, which is not supported either by the django-oauth-toolkit.

The Device Authorization grant looks super interesting to authenticate native applications, much simpler than Authorization Code with PKCE and inter-application URL redirections. I am wondering if supporting it directly or through supporting the extension grant has been discussed already? (I did not find any reference)

@auvipy
Copy link
Contributor

auvipy commented Oct 26, 2021

can you check the codes and possibly come with a implementation?

@0x2b3bfa0
Copy link

Related to oauthlib/oauthlib#626 upstream

@dopry
Copy link
Contributor

dopry commented Oct 4, 2023

We would be happy accept a PR for this feature once it is available in OAuthLib. We'll need to wait on upstream to merge it. It looks like there is ongoing work in oauthlib/oauthlib#844 and there is upstream interest. If you're interested in this feature I would recommend supporting the work in OAuthLib first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants