Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Live OAuth endpoints have changed #309

Merged
merged 1 commit into from

3 participants

@adrianServy

Hi Pablo,

Live OAuth endpoints have changed, I've modified the LiveApi class to include the new ones

@adrianServy adrianServy Live authorization endpoints changed
eac0ffd
@pulsone

Please updated this purporse. LiveExample failed without update.

@fernandezpablo85

Oops! seems I mistakenly closed this without merging. Sorry and thanks for pointing it out.

@fernandezpablo85 fernandezpablo85 merged commit 135ad50 into fernandezpablo85:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 27, 2012
  1. @adrianServy

    Live authorization endpoints changed

    adrianServy authored
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/java/org/scribe/builder/api/LiveApi.java
View
4 src/main/java/org/scribe/builder/api/LiveApi.java
@@ -7,13 +7,13 @@
public class LiveApi extends DefaultApi20
{
- private static final String AUTHORIZE_URL = "https://oauth.live.com/authorize?client_id=%s&redirect_uri=%s&response_type=code";
+ private static final String AUTHORIZE_URL = "https://login.live.com/oauth20_authorize.srf?client_id=%s&redirect_uri=%s&response_type=code";
private static final String SCOPED_AUTHORIZE_URL = AUTHORIZE_URL + "&scope=%s";
@Override
public String getAccessTokenEndpoint()
{
- return "https://oauth.live.com/token?grant_type=authorization_code";
+ return "https://login.live.com/oauth20_token.srf?grant_type=authorization_code";
}
@Override
Something went wrong with that request. Please try again.