File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments