rajithd / spring-boot-oauth2

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

/oauth/token Request method 'GET' not support #6

Closed hevan closed 8 years ago

hevan commented 8 years ago

use curl -x POST -uv /oauth/token OK!

use curl -uv /oauth/token {"error":"method_not_allowed","error_description":"Request method 'GET' not support}

o.s.s.o.provider.endpoint.TokenEndpoint : Handling error: HttpRequestMethodNotSupportedException, Request method 'GET' not supported