jcschaff / c3pro-auth

a Spring Boot auth server for the C3-PRO platform.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

c3pro-auth - a Spring Boot auth server for the C3-PRO platform.

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.

Differences from C3-PRO

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,
}

About

a Spring Boot auth server for the C3-PRO platform.


Languages

Language:Java 100.0%