Back to Home
musabbozkurt icon

oauth2-authorization-server

Verified Safe

by musabbozkurt

Overview

An OAuth2 Authorization Server providing secure authentication and authorization, enhanced with AI capabilities (chat, vector store, tool use) and file management features.

Installation

Run Command
docker run -d --restart=always -p 9000:9000 oauth2-authorization-server:latest

Environment Variables

  • SPRING_DATASOURCE_URL
  • DB_USERNAME
  • DB_PASSWORD
  • DEEP_SEEK_API_KEY
  • MINIO_ENDPOINT
  • MINIO_ACCESS_KEY
  • MINIO_SECRET_KEY
  • SPRING_LDAP_URL
  • SPRING_LDAP_PASSWORD
  • SPRING_LDAP_USER_DN
  • SPRING_LDAP_USER_SEARCH_BASE
  • SPRING_LDAP_USER_SEARCH_FILTER

Security Notes

The server implements standard Spring Security and OAuth2 Authorization Server best practices. It uses BCrypt for password encoding, handles JWTs, and employs secure cookie settings (Secure, HttpOnly). File uploads to MinIO/S3 generate UUID-based filenames to mitigate path traversal risks. Most sensitive configurations (database, AI keys, MinIO credentials, LDAP) are externalized via environment variables, with sensible defaults provided for local Docker Compose setup. The presence of example weak passwords in `docker-compose.yml` and README setup is noted, but they are clearly intended for local development and are configured for externalization in `application.yml` for production readiness. No 'eval', obfuscation, or explicit malicious patterns were found.

Similar Servers

Stats

Interest Score34
Security Score8
Cost ClassMedium
Avg Tokens500
Stars5
Forks2
Last Update2025-12-14

Tags

OAuth2Authorization ServerSpring BootAIMicroservices