[ https://issues.apache.org/jira/browse/OLTU-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antonio Sanso resolved OLTU-96. ------------------------------- Resolution: Fixed Fix Version/s: 0.31 > Improve client API in order to support known Provider > ----------------------------------------------------- > > Key: OLTU-96 > URL: https://issues.apache.org/jira/browse/OLTU-96 > Project: Apache Oltu > Issue Type: Task > Components: oauth2-client > Reporter: Antonio Sanso > Assignee: Antonio Sanso > Fix For: 0.31 > > Attachments: OLTU-96.patch > > > According to the Oltu documentation [0] when using Oltu library client side > is always needed to specify the authorization and token location e.g. > OAuthClientRequest request = OAuthClientRequest > > .authorizationLocation("https://graph.facebook.com/oauth/authorize") > .setClientId("your-facebook-application-client-id") > .setRedirectURI("http://www.example.com/redirect") > .buildQueryMessage(); > even for well known Provider e.g. Facebook, Google etc. > Given that they should not change really often it would be nice to have > preconfigured providers > [0] > https://cwiki.apache.org/confluence/display/OLTU/OAuth+2.0+Client+Quickstart -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira