Playing around with OAuth providers and clients using Akka
- Start
com.github.jw3.oauth.Boot
- Obtain a new token from the
Provider
curl -XPOST -F grant_type=client_credentials -F client_id=foo -F client_secret=bar localhost:8080/oauth/access_token
- Use the token via the
Client
curl -H 'Authorization: Bearer 0efd95f' localhost:8081/closed