File tree Expand file tree Collapse file tree 2 files changed +353
-15
lines changed
Expand file tree Collapse file tree 2 files changed +353
-15
lines changed Original file line number Diff line number Diff line change @@ -410,17 +410,17 @@ def _compose_create_update_body(
410410 body ["discoveryUrl" ] = discovery_url
411411 if authorization_url :
412412 body ["authorizationUrl" ] = authorization_url
413- if authorization_url_params :
413+ if authorization_url_params is not None :
414414 body ["authorizationUrlParams" ] = url_params_to_dict (
415415 authorization_url_params
416416 )
417417 if token_url :
418418 body ["tokenUrl" ] = token_url
419- if token_url_params :
419+ if token_url_params is not None :
420420 body ["tokenUrlParams" ] = url_params_to_dict (token_url_params )
421421 if revocation_url :
422422 body ["revocationUrl" ] = revocation_url
423- if default_scopes :
423+ if default_scopes is not None :
424424 body ["defaultScopes" ] = default_scopes
425425 if default_redirect_url :
426426 body ["defaultRedirectUrl" ] = default_redirect_url
@@ -430,6 +430,6 @@ def _compose_create_update_body(
430430 body ["pkce" ] = pkce
431431 if access_type :
432432 body ["accessType" ] = access_type .value
433- if prompt :
433+ if prompt is not None :
434434 body ["prompt" ] = [p .value for p in prompt ]
435435 return body
You can’t perform that action at this time.
0 commit comments