Prateek created OLTU-211:
----------------------------
Summary: Access_token Url and Authorization urls not correct
Key: OLTU-211
URL: https://issues.apache.org/jira/browse/OLTU-211
Project: Apache Oltu
Issue Type: Improvement
Reporter: Prateek
I see that Apache Oltu (Amber) documentation is also outdated and not correct.
Most the Auth Url and Access_token url is not correct. I have gather following
stuff by investing lots of hours, I hope to get it correct here and create and
update the same in the API doc.
I also expect to update the scopes for this Oauth sites and also do mentioned
the Client Request like I shown for the Github (https://api.github.com/user)
{code:java}
FACEBOOK(
"facebook",
"https://graph.facebook.com/oauth/authorize",
"https://graph.facebook.com/oauth/access_token"),
FOURSQUARE(
"foursquare",
"https://foursquare.com/oauth2/authenticate",
"https://foursquare.com/oauth2/access_token"),
GITHUB(
"GitHub",
"https://github.com/login/oauth/authorize",
"https://github.com/login/oauth/access_token"),
GOOGLE(
"Google",
"https://accounts.google.com/o/oauth2/auth",
"https://accounts.google.com/o/oauth2/token"),
INSTAGRAM(
"Instagram",
"https://api.instagram.com/oauth/authorize",
"https://api.instagram.com/oauth/access_token"),
LINKEDIN(
"LinkedIn",
"https://www.linkedin.com/uas/oauth2/authorization",
"https://www.linkedin.com/uas/oauth2/accessToken"),
MICROSOFT(
"Microsoft",
"https://login.live.com/oauth20_authorize.srf",
"https://login.live.com/oauth20_token.srf"),
PAYPAL(
"PayPal",
"https://identity.x.com/xidentity/resources/authorize",
"https://identity.x.com/xidentity/oauthtokenservice"),
REDDIT(
"reddit",
"https://ssl.reddit.com/api/v1/authorize",
"https://ssl.reddit.com/api/v1/access_token"),
SALESFORCE(
"salesforce",
"https://login.salesforce.com/services/oauth2/authorize",
"https://login.salesforce.com/services/oauth2/token"),
YAMMER(
"Yammer",
"https://www.yammer.com/dialog/oauth",
"https://www.yammer.com/oauth2/access_token.json");
{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)