Skip to content

Commit fa71d66

Browse files
Review Feedback Changes
1 parent 0be92a4 commit fa71d66

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

auth0/authentication/back_channel_login.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@ def back_channel_login(
2828
scope(str): "openid" is a required scope.Multiple scopes are separated
2929
with whitespace.
3030
31-
authorization_details (str, list of dict, optional): JSON string or dictionary representing
31+
authorization_details (str, list of dict, optional): JSON string or a list of dictionaries representing
3232
Rich Authorization Requests (RAR) details to include in the CIBA request.
33-
If a Python list is provided, the SDK automatically serializes it to a JSON string before sending.
3433
3534
**kwargs: Other fields to send along with the request.
3635
@@ -49,7 +48,7 @@ def back_channel_login(
4948
if authorization_details is not None:
5049
if isinstance(authorization_details, str):
5150
data["authorization_details"] = authorization_details
52-
elif isinstance(authorization_details, (list)):
51+
elif isinstance(authorization_details, list):
5352
data["authorization_details"] = json.dumps(authorization_details)
5453

5554
data.update(kwargs)

0 commit comments

Comments
 (0)