Reputation: 65
I am very new to spring-security oauth and hence the question.
If I use the default oauth implementation with spring security I use the following :
http://localhost:8080/test-api/oauth/token?grant_type=implicit&client_id=test-app&client_secret=mysec1&username=user&password=password
I i understand correctly ,in this case all username ,passwords,credentials will be visible in the URL.Is it not be a security risk.Is it not better if all these are passed as post parameters.
Any help will be appreciated
Upvotes: 2
Views: 615
Reputation: 120761
OAuth2 works only in a secure way when https (s!) is used. In Https the request parameters are encrypted. So the request parameters are secured!
Upvotes: 2