Skip to content

alexandru-calinoiu/grape-oauth2-sample

Repository files navigation

Client credentials

fail

curl -d '{"grant_type": "client_credentials", "client_id": "42"}' 'http://localhost:9292/api/v1/token' -H Content-Type:application/json -v

success

curl -d '{"grant_type": "client_credentials", "client_id": "42", "client_secret": "secret"}' 'http://localhost:9292/api/v1/token' -H Content-Type:application/json -v

About

A sample project that integrates grape and rack-oauth2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published