Skip to content

Commit 9edca71

Browse files
authored
Merge pull request #3 from cassidylaidlaw/master
Fix missing state in Client.authorization_url
2 parents 5c54cdc + 169cdd9 commit 9edca71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

microsoftgraph/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def authorization_url(self, redirect_uri, scope, state=None):
5757
}
5858

5959
if state:
60-
params['state'] = None
60+
params['state'] = state
6161
if self.office365:
6262
response = self.OFFICE365_AUTHORITY_URL + self.OFFICE365_AUTH_ENDPOINT + urlencode(params)
6363
else:

0 commit comments

Comments
 (0)