Commit Graph

6 Commits

Author SHA1 Message Date
Haitao Pan
5bf93d1d3f feat: add user management APIs for management page
- Add ListUsers to Store interface and implementations
- Add user listing API endpoint (GET /api/users)
- Add role management endpoints (POST/DELETE /api/auth/admin/users/:userId/role)
- Add GeneratePublicToken to TokenService for OAuth callback
- Add CancelSubscription to Store interface
- Update go.mod with oauth2 dependencies
2026-01-30 08:59:55 +08:00
Haitao Pan
6ba56841b5 feat: add OAuth2 authentication support with new API endpoints, configuration, and identity storage. 2026-01-30 08:46:24 +08:00
Haitao Pan
fbe107c13e feat(api): reuse verification code within TTL and regenerate after 10m 2026-01-25 14:17:30 +08:00
Haitao Pan
9ca661c84d fix(api): allow registration with code without prior verification call 2026-01-25 13:55:39 +08:00
Haitao Pan
c7805f13a5 refactor: move NextAuth configuration to a dedicated server file. 2026-01-25 10:12:12 +08:00
Haitao Pan
ee6e1a6363 feat: move account service to repo root
# Conflicts:
#	account/Makefile
#	account/go.mod
#	docs/account-admin-settings.md
#	docs/account-svc-plus.md
2026-01-16 16:15:23 +08:00