Skip to content

Commit 928ba7c

Browse files
committed
Fix typos from last weeks authentication fix
1 parent 1ba0c2f commit 928ba7c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/sumo/wrapper/_auth_provider.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def __init__(self, client_id, authority, resource_id):
138138
return
139139

140140
def login(self):
141-
scopes = [self.scope + " offline_access"]
141+
scopes = [self._scope + " offline_access"]
142142
result = self._app.acquire_token_interactive(scopes)
143143

144144
if "error" in result:
@@ -169,7 +169,7 @@ def __init__(self, client_id, authority, resource_id):
169169
return
170170

171171
def login(self):
172-
scopes = [self.scope + " offline_access"]
172+
scopes = [self._scope + " offline_access"]
173173
flow = self._app.initiate_device_flow(scopes)
174174

175175
if "error" in flow:

0 commit comments

Comments
 (0)