feat: serve latha-auth atproto OAuth client metadata
Build and Push Image / build (push) Successful in 40s

Add GET /oauth/atproto-client-metadata.json next to the existing OAuth
relay routes so AT Protocol authorization servers can resolve the
latha-auth public client (client_id is this URL).
This commit is contained in:
nandi committed 2026-11-18 06:20:41 +00:00
1 parent 4a9ec8b2ad
commit 6f3cb6777b
3 files changed
+70

No files matched your search

+1
View File
@@ -55,6 +55,7 @@ func (s *Server) routes() {
s.mux.HandleFunc("GET /metrics", s.handleMetrics)
s.mux.HandleFunc("GET /oauth/callback", s.handleOAuthCallback)
s.mux.HandleFunc("GET /oauth/atproto-client-metadata.json", s.handleAtprotoClientMetadata)
s.mux.HandleFunc("GET /api/oauth/poll", s.handleOAuthPoll)
s.mux.HandleFunc("POST /webhook/gitea", s.handleGiteaWebhook)