docker run -p 8086:8086 ghcr.io/vyuvaraj/servauth:latestServAuth is the identity provider and access token validation service of the Servverse ecosystem.
- User Registration & Login: User registration and login validation.
- OIDC/OAuth2 Provider: OIDC token generation endpoint (
POST /oauth/token) supporting theclient_credentialsflow. - Password Reset & Account Lockout: Safe recovery token resets and automated account locking for 5 minutes after 3 consecutive failed login attempts.
POST /api/auth/register- Create a new user profilePOST /api/auth/login- Validate credentials and return session tokenPOST /oauth/token- OAuth2 OIDC client credentials token grantPOST /api/auth/reset-password/request- Generate recovery tokenPOST /api/auth/reset-password/confirm- Reset password using confirmation token
To run the integration tests locally:
go test -v ./...