rajithd / spring-boot-oauth2

Spring Boot Oauth2 with H2 database
208 stars 166 forks source link

How to get the username and password for access token ? #16

Closed hkharikrishnan857 closed 7 years ago

hkharikrishnan857 commented 7 years ago

I execute below api but i am getting error only http://localhost:9191/api/oauth/token?username=admin&password=admin&grant_type=password

{ "error": "unauthorized", "error_description": "Full authentication is required to access this resource" }

so please share how to add the username and password for corresponding API

Thank you