File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ def get_authorization_request_url(
285
285
login_hint = None , # type: Optional[str]
286
286
state = None , # Recommended by OAuth2 for CSRF protection
287
287
redirect_uri = None ,
288
- response_type = "code" , # Can be "token" if you use Implicit Grant
288
+ response_type = "code" , # Could be "token" if you use Implicit Grant
289
289
prompt = None ,
290
290
nonce = None ,
291
291
domain_hint = None , # type: Optional[str]
@@ -302,7 +302,11 @@ def get_authorization_request_url(
302
302
Address to return to upon receiving a response from the authority.
303
303
:param str response_type:
304
304
Default value is "code" for an OAuth2 Authorization Code grant.
305
- You can use other content such as "id_token".
305
+
306
+ You could use other content such as "id_token" or "token",
307
+ which would trigger an Implicit Grant, but that is
308
+ `not recommended <https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-implicit-grant-flow#is-the-implicit-grant-suitable-for-my-app>`_.
309
+
306
310
:param str prompt:
307
311
By default, no prompt value will be sent, not even "none".
308
312
You will have to specify a value explicitly.
You can’t perform that action at this time.
0 commit comments