-
Nov 16th, 2010, 02:19 AM
#1
Using an another client API with Spring Security OAuth2 server side
Hello,
I added OAuth2 support on my website. It seem to work properly and now, i want to write a sample in java that ask access_token and calls my protected API.
For that i used this library : http://bitbucket.org/smartproject/oauth-2.0/wiki/Client
But I don't understand what uri i need to call to have a registrar code and after a granted access_token.
private static final String REDIRECT = "http://localhost:8080/sample/oauth/confirm_access.html?response_type=code"; // i see that response_type=token was not available
private static final String AUTHORIZE = "http://localhost:8080/sample/oauth/user/authorize";
private static final String ACCESS_TOKEN = "http://localhost:8080/sample/oauth/authorize";
private static final String CIENT_ID = "sample_client";
Thks for your work!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules