Skip to content
Open
Changes from 1 commit
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
Next Next commit
Use updated live.com endpoints.
  • Loading branch information
arnarl committed Sep 4, 2014
commit 5e89b47a38515ddb3bf87b9d627914f396e2f093
4 changes: 2 additions & 2 deletions velruse/providers/live.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def login(self, request):
"""Initiate a Live login"""
scope = request.POST.get('scope', self.scope or
'wl.basic wl.emails wl.signin')
fb_url = flat_url('https://oauth.live.com/authorize', scope=scope,
fb_url = flat_url('https://login.live.com/oauth20_authorize.srf', scope=scope,
client_id=self.consumer_key,
redirect_uri=request.route_url(self.callback_route),
response_type="code")
Expand All @@ -95,7 +95,7 @@ def callback(self, request):

# Now retrieve the access token with the code
access_url = flat_url(
'https://oauth.live.com/token',
'https://login.live.com/oauth20_token.srf',
client_id=self.consumer_key,
client_secret=self.consumer_secret,
redirect_uri=request.route_url(self.callback_route),
Expand Down