lcpojr / watcher_ex

An Oauth2 server interelly in elixir.
Apache License 2.0
10 stars 3 forks source link

feat: authentication flows now accepts client assertions #25

Closed lcpojr closed 3 years ago

lcpojr commented 3 years ago

Authentication flows that requires credentials as Resource Owner and Client Credentials now accepts client assertions. It's important to avoid passing the raw secret on requests.

In this case the client application sends a JWT that is signed with it's private key and we verify it's signature using the public key stored on the ResourceManager. The required claims on JWT are exp, iat, nbf, iss, aud, jti, sub, typ.

The request payload should send the following new params: