File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,8 @@ def __init__(
33
33
34
34
super ().__init__ (
35
35
redirect_uri = redirect_uri ,
36
- scopes = scopes ,
36
+ scopes_application = scopes ,
37
+ scopes_delegated = scopes ,
37
38
token_url = token_url ,
38
39
** kwargs ,
39
40
)
Original file line number Diff line number Diff line change @@ -30,7 +30,8 @@ def __init__(
30
30
self .tenant_id = entra_tenant_id
31
31
super ().__init__ (
32
32
redirect_uri = redirect_uri ,
33
- scopes = scopes ,
33
+ scopes_application = scopes ,
34
+ scopes_delegated = scopes ,
34
35
token_url = token_url ,
35
36
** kwargs ,
36
37
)
Original file line number Diff line number Diff line change @@ -29,7 +29,8 @@ def __init__(
29
29
client_secret : str ,
30
30
debug : bool , # noqa: FBT001
31
31
redirect_uri : str ,
32
- scopes : list [str ],
32
+ scopes_application : list [str ],
33
+ scopes_delegated : list [str ],
33
34
token_url : str ,
34
35
uid_cache : UidCache ,
35
36
) -> None :
@@ -61,7 +62,7 @@ def __init__(
61
62
self .session_application = OAuth2Session (
62
63
client = BackendApplicationClient (
63
64
client_id = client_id ,
64
- scope = scopes ,
65
+ scope = scopes_application ,
65
66
redirect_uri = redirect_uri ,
66
67
),
67
68
)
@@ -76,7 +77,7 @@ def __init__(
76
77
self .session_interactive = OAuth2Session (
77
78
client = LegacyApplicationClient (
78
79
client_id = client_id ,
79
- scope = scopes ,
80
+ scope = scopes_delegated ,
80
81
redirect_uri = redirect_uri ,
81
82
),
82
83
)
You can’t perform that action at this time.
0 commit comments