Skip to content

Commit 1bcc1b0

Browse files
committed
Update the grant type mapping to recognize device code
1 parent f29c8ce commit 1bcc1b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

oauth2_provider/oauth2_validators.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
AbstractApplication.GRANT_CLIENT_CREDENTIALS,
5757
AbstractApplication.GRANT_OPENID_HYBRID,
5858
),
59+
"urn:ietf:params:oauth:grant-type:device_code": (AbstractApplication.GRANT_DEVICE_CODE,)
5960
}
6061

6162
Application = get_application_model()

0 commit comments

Comments
 (0)