SpringServer
Pre-configured Spring implementation with out of the box support for OAuth2, MongoDB, REST endpoints, ...
Features
- Written in Kotlin
- OAuth2 support
- Implemented grant types: password, implicit, authorization_code, refresh_token
- Working PKCE implementation with support for plain, SHA-256 and SHA-512 challenges
- Configured form / web login
- AES-256 encryption implemented
- SHA-256 and SHA-512 implemented
- BCrypt password encoder
- Preconfigured property (.yml) files & profiles
- REST API configuration secured by OAuth2
- MongoDB support (Spring Data MongoDB)
- Repository for OAuth2Access- & RefreshToken
- Repository for OAuth2 User
- Repository for OAuth2 Client
- Repository for AuthorizationCode
- Well tested
- Maven
- Docker
Deployment with Docker
Run the following command to deploy for production using Docker with a production environment file:
docker-compose --env-file ./docker-env.prod -f docker-compose-prod.yml -H "ssh://root@yourdomain.com" up -d --build --force-recreate