Skip to content

Commit e658cb2

Browse files
committed
Increase grant type length
The grant type for device code is 44 characters
1 parent 5bc5ef1 commit e658cb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oauth2_provider/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class AbstractApplication(models.Model):
131131
default="",
132132
)
133133
client_type = models.CharField(max_length=32, choices=CLIENT_TYPES)
134-
authorization_grant_type = models.CharField(max_length=32, choices=GRANT_TYPES)
134+
authorization_grant_type = models.CharField(max_length=64, choices=GRANT_TYPES)
135135
client_secret = ClientSecretField(
136136
max_length=255,
137137
blank=True,

0 commit comments

Comments
 (0)