From 64dd34dc3870d2354560e592a4ad2119e662b904 Mon Sep 17 00:00:00 2001 From: Marib Aldoais Date: Fri, 12 Apr 2024 10:54:03 +0200 Subject: [PATCH] Extended OAuthGrantType --- okta/models/o_auth_grant_type.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/okta/models/o_auth_grant_type.py b/okta/models/o_auth_grant_type.py index e5852e10..4f6d7728 100644 --- a/okta/models/o_auth_grant_type.py +++ b/okta/models/o_auth_grant_type.py @@ -38,3 +38,7 @@ class OAuthGrantType( DEVICE_CODE = "urn:ietf:params:oauth:grant-type:device_code", "URN:IETF:PARAMS:OAUTH:GRANT-TYPE:DEVICE_CODE" TOKEN_EXCHANGE = "urn:ietf:params:oauth:grant-type:token-exchange", "URN:IETF:PARAMS:OAUTH:GRANT-TYPE:TOKEN-EXCHANGE" INTERACTION_CODE = "interaction_code", "INTERACTION_CODE" + OTP = "urn:okta:params:oauth:grant-type:otp", "URN:OKTA:PARAMS:OAUTH:GRANT-TYPE:OTP" + OOB = "urn:okta:params:oauth:grant-type:oob", "URN:OKTA:PARAMS:OAUTH:GRANT-TYPE:OOB" + MFA_OTP = "http://auth0.com/oauth/grant-type/mfa-otp", "HTTP://AUTH0.COM/OAUTH/GRANT-TYPE/MFA-OTP" + MFA_OOB = "http://auth0.com/oauth/grant-type/mfa-oob", "HTTP://AUTH0.COM/OAUTH/GRANT-TYPE/MFA-OOB"