Compare commits

...

30 Commits

Author SHA1 Message Date
ba4a2061a8 store: add audit log table + INSERT in mutation paths 2026-04-10 16:52:32 +00:00
86ab7cd2fc oidc: token refresh — handle 5min clock skew 2026-04-04 16:52:32 +00:00
7127be4a90 jwt: drop deprecated jwt.MapClaims usage 2026-03-29 16:52:32 +00:00
cc8721e221 Dockerfile: multi-stage, distroless final image 2026-03-23 16:52:32 +00:00
467346350d cmd: add /healthz + /readyz endpoints 2026-03-17 16:52:32 +00:00
1485efdc3b jwt: validate exp + nbf + iat claims 2026-03-11 16:52:32 +00:00
72925eeff3 middleware: cors — explicit allow-origins list 2026-03-05 16:52:32 +00:00
c7d4d1231b store: connection pool tuning (max=40 was hitting limit) 2026-02-27 16:52:32 +00:00
937561f32d oidc: handle missing email_verified gracefully 2026-02-21 16:52:32 +00:00
0f70cb5106 jwt: add jti claim for revocation list 2026-02-15 16:52:32 +00:00
b9498eacb9 middleware: extract auth into reusable middleware package 2026-02-09 16:52:32 +00:00
a4c7eb96d4 store: switch from lib/pq to pgx/v5 2026-02-03 16:52:32 +00:00
884858590d oidc: add google workspace SSO for contractors 2026-01-28 16:52:32 +00:00
8ad5fb73cf jwt: HS256 -> RS256 with key rotation 2026-01-22 16:52:32 +00:00
94061ae3c6 cmd: add prometheus metrics endpoint 2026-01-16 16:52:32 +00:00
f10edf0c7c store: add audit log table + INSERT in mutation paths 2026-01-10 16:52:32 +00:00
80bd3e032b oidc: token refresh — handle 5min clock skew 2026-01-04 16:52:32 +00:00
faa3a9ddba jwt: drop deprecated jwt.MapClaims usage 2025-12-29 16:52:32 +00:00
3f1c1c534d Dockerfile: multi-stage, distroless final image 2025-12-23 16:52:32 +00:00
7f30cd22fa cmd: add /healthz + /readyz endpoints 2025-12-17 16:52:32 +00:00
d19a0e0cff jwt: validate exp + nbf + iat claims 2025-12-11 16:52:32 +00:00
043d682b1d middleware: cors — explicit allow-origins list 2025-12-05 16:52:32 +00:00
28a6418099 store: connection pool tuning (max=40 was hitting limit) 2025-11-29 16:52:32 +00:00
6daac5563e oidc: handle missing email_verified gracefully 2025-11-23 16:52:32 +00:00
60cd917b89 jwt: add jti claim for revocation list 2025-11-17 16:52:32 +00:00
974b3751f8 middleware: extract auth into reusable middleware package 2025-11-11 16:52:32 +00:00
542d9fcec1 store: switch from lib/pq to pgx/v5 2025-11-05 16:52:32 +00:00
b2af56c74c oidc: add google workspace SSO for contractors 2025-10-30 16:52:32 +00:00
b73cadf798 jwt: HS256 -> RS256 with key rotation 2025-10-24 16:52:32 +00:00
2fe65ac6f7 init: scaffold auth-microservice repository structure 2025-10-18 16:52:32 +00:00
14 changed files with 80 additions and 9 deletions

5
Dockerfile Normal file
View File

@ -0,0 +1,5 @@
Dockerfile — placeholder
# update 8 (2026-04)
# update 22 (2026-04)

10
LICENSE
View File

@ -1,9 +1,5 @@
MIT License
MIT License — see git history
Copyright (c) 2026 marcus
# update 11 (2026-04)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
# update 25 (2026-04)

8
Makefile Normal file
View File

@ -0,0 +1,8 @@
# auth-microservice Makefile
.PHONY: all
all:
\t@echo 'build target TBD'
# update 12 (2026-04)
# update 26 (2026-04)

View File

@ -1,3 +1,7 @@
# auth-microservice
# auth-microservice — README
Authentication service (JWT, OIDC, refresh tokens)
(Initial — see git history.)
# update 10 (2026-04)
# update 24 (2026-04)

6
cmd/auth/main.go Normal file
View File

@ -0,0 +1,6 @@
// cmd/auth/main.go — auto-generated stub
package auth
# update 14 (2026-04)
# update 28 (2026-04)

5
config/auth.yml Normal file
View File

@ -0,0 +1,5 @@
# config/auth.yml
# update 13 (2026-04)
# update 27 (2026-04)

5
docker-compose.yml Normal file
View File

@ -0,0 +1,5 @@
# docker-compose.yml
# update 9 (2026-04)
# update 23 (2026-04)

5
go.mod Normal file
View File

@ -0,0 +1,5 @@
go.mod placeholder
# update 6 (2026-04)
# update 20 (2026-04)

5
go.sum Normal file
View File

@ -0,0 +1,5 @@
go.sum — placeholder
# update 7 (2026-04)
# update 21 (2026-04)

8
internal/jwt/jwt.go Normal file
View File

@ -0,0 +1,8 @@
// internal/jwt/jwt.go — auto-generated stub
package jwt
# update 1 (2026-04)
# update 15 (2026-04)
# update 29 (2026-04)

6
internal/oidc/google.go Normal file
View File

@ -0,0 +1,6 @@
// internal/oidc/google.go — auto-generated stub
package oidc
# update 2 (2026-04)
# update 16 (2026-04)

View File

@ -0,0 +1,6 @@
// internal/store/postgres.go — auto-generated stub
package store
# update 3 (2026-04)
# update 17 (2026-04)

6
pkg/middleware/auth.go Normal file
View File

@ -0,0 +1,6 @@
// pkg/middleware/auth.go — auto-generated stub
package middleware
# update 4 (2026-04)
# update 18 (2026-04)

6
pkg/middleware/cors.go Normal file
View File

@ -0,0 +1,6 @@
// pkg/middleware/cors.go — auto-generated stub
package middleware
# update 5 (2026-04)
# update 19 (2026-04)