mirror of
https://github.com/ansible/awx.git
synced 2026-03-26 13:25:02 -02:30
remove implicit grant type for OAuth 2 apps
This commit is contained in:
@@ -38,11 +38,9 @@ class OAuth2Application(AbstractApplication):
|
||||
)
|
||||
|
||||
GRANT_AUTHORIZATION_CODE = "authorization-code"
|
||||
GRANT_IMPLICIT = "implicit"
|
||||
GRANT_PASSWORD = "password"
|
||||
GRANT_TYPES = (
|
||||
(GRANT_AUTHORIZATION_CODE, _("Authorization code")),
|
||||
(GRANT_IMPLICIT, _("Implicit")),
|
||||
(GRANT_PASSWORD, _("Resource owner password-based")),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user