This authentication server is a Spring Boot / DynamoDB port of the OAuth2 server portion of C3-PRO/c3-pro-server. The implementation was adapted from OAuth2Server, OAuthServerFilter, and RegisterServer.
This implements the client-credentials OAuth2 flow as described with the exception of the use of "Authorization: Basic" rather than "Authentication: Basic" header while retrieving the authentication token.
The authentication database which stores the client credentials and manages access tokens for the resource server is configured to use DynamoDB rather than Oracle.
Also, upon
HTTP/1.1 200 OK
Content-Type: application/json
Cache-Control: no-store
Pragma: no-cache
{
"access_token":"MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3",
"token_type":"bearer",
"expires_in":3600,
}