Skip to content

Commit 135ad50

Browse files
Merge pull request scribejava#309 from adrianServy/master
Live OAuth endpoints have changed
2 parents 304cb6a + eac0ffd commit 135ad50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/scribe/builder/api/LiveApi.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
public class LiveApi extends DefaultApi20
88
{
99

10-
private static final String AUTHORIZE_URL = "https://oauth.live.com/authorize?client_id=%s&redirect_uri=%s&response_type=code";
10+
private static final String AUTHORIZE_URL = "https://login.live.com/oauth20_authorize.srf?client_id=%s&redirect_uri=%s&response_type=code";
1111
private static final String SCOPED_AUTHORIZE_URL = AUTHORIZE_URL + "&scope=%s";
1212

1313
@Override
1414
public String getAccessTokenEndpoint()
1515
{
16-
return "https://oauth.live.com/token?grant_type=authorization_code";
16+
return "https://login.live.com/oauth20_token.srf?grant_type=authorization_code";
1717
}
1818

1919
@Override

0 commit comments

Comments
 (0)