kivra / oauth2_client

Erlang OAuth2 Client
MIT License
73 stars 38 forks source link

Support client credentials in body #21

Closed alexandre-kivra closed 4 years ago

alexandre-kivra commented 4 years ago

expires_in is actually a relative value (https://tools.ietf.org/html/rfc6749#section-5.1) but as far as I can see it's treated as an absolute value. Which would explain why I can't get it to return the cached token :)

That's a very nice catch. I'll look into it tomorrow morning