Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion microsoft-security-oauth2/1.0.0/src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def reset_password(self, access_token, refresh_token, userId, passwordId, newPas
graph_url = "https://graph.microsoft.com"
session = self.authenticate(access_token, refresh_token)

url = "https://graph.microsoft.com/beta/users/%s/authentication/passwordMethods/%s/resetPassword" % (userId, passwordId)
url = "https://graph.microsoft.com/beta/users/%s/authentication/methods/%s/resetPassword" % (userId, passwordId)
response = session.post(url)
print(response.status_code)
return response.text
Expand Down