Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Auth

[![Java](https://img.shields.io/badge/Java-ED8B00?style=flat)](https://dev.java/)
[![Spring Boot](https://img.shields.io/badge/Spring_Boot-6DB33F?style=flat&logo=springboot&logoColor=white)](https://spring.io/projects/spring-boot)
[![Maven](https://img.shields.io/badge/Maven-C71A36?style=flat&logo=apachemaven&logoColor=white)](https://maven.apache.org/)
[![Docker](https://img.shields.io/badge/Docker-2496ED?style=flat&logo=docker&logoColor=white)](https://www.docker.com/)
[![GitHub Actions](https://img.shields.io/badge/GitHub_Actions-2088FF?style=flat&logo=githubactions&logoColor=white)](https://github.com/features/actions)

Spring Boot authentication service. `POST /auth/login` validates credentials
through Account and issues short-lived HMAC-signed JWT access tokens.

Expand All @@ -22,12 +28,12 @@ Set `ACCOUNT_URL`, `JWT_SECRET`, `INTERNAL_SERVICE_SECRET`, and
GitHub Actions, use repository secrets; in Kubernetes, use ConfigMap values
for URLs and `platform-secrets` for credentials.

| Variable | Purpose |
| --- | --- |
| `ACCOUNT_URL` | Account service base URL |
| `JWT_SECRET` | Shared JWT HMAC secret |
| `INTERNAL_SERVICE_SECRET` | Account credential lookup secret |
| `ACCESS_TOKEN_EXPIRATION_SECONDS` | Access-token lifetime |
| Variable | Purpose |
| --------------------------------- | -------------------------------- |
| `ACCOUNT_URL` | Account service base URL |
| `JWT_SECRET` | Shared JWT HMAC secret |
| `INTERNAL_SERVICE_SECRET` | Account credential lookup secret |
| `ACCESS_TOKEN_EXPIRATION_SECONDS` | Access-token lifetime |

## GitHub Actions secrets

Expand Down
Loading