You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oltu.apache.org by "Antonio Sanso (JIRA)" <ji...@apache.org> on 2013/04/07 18:55:15 UTC

[jira] [Created] (OLTU-96) Improve client API in order to support known Provider

Antonio Sanso created OLTU-96:
---------------------------------

             Summary: 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


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