-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Oauth2RestTemplate example #13
Comments
I was able to get this figured out and have created a Gist of what I did - it's basically just an integration test as example. You are welcome to use it, or I can fork your project and provide a pull request if you'd like me to. |
cjstenho In your example unless you're authorized on the client side I thing that connection would throw an exception for not being authorized, and It wont work for non browser clients or when you try to fully automate the process It works with Roy Clarkson's example |
@mariubog - thanks, the integration test works; however, I see what you are saying about requiring a username and password. I will take a look at your example. I am new to OAuth so I am still trying to figure out how all the pieces come together. :-) |
This is good stuff. An |
Very nice and simple example to understand the Oauth02 security implementation. Below sample code to get the token can be used: final String uri = "http://localhost:8080/uaa/oauth/token";
|
This is a great example project, but it would be nice to have an example using the
OAuth2RestTemplate
along with the providedcurl
example.The text was updated successfully, but these errors were encountered: