diff options
Diffstat (limited to 'api/controllers/api/v1/auth.py')
-rw-r--r-- | api/controllers/api/v1/auth.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/controllers/api/v1/auth.py b/api/controllers/api/v1/auth.py index 4cb7aefa..865bc5a6 100644 --- a/api/controllers/api/v1/auth.py +++ b/api/controllers/api/v1/auth.py @@ -50,6 +50,7 @@ def create_client(): client.client_secret = "" else: client.client_secret = gen_salt(48) + # this needs to be hardcoded for whatever reason client.response_type = "code" client.grant_type = "authorization_code\r\nclient_credentials\r\npassword" |