backend for xcvr appview
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

fixed response object for jwk

+3 -1
+3 -1
server/internal/handler/oauthHandlers.go
··· 9 9 "net/url" 10 10 "os" 11 11 "xcvr-backend/internal/oauth" 12 + "github.com/haileyok/atproto-oauth-golang/helpers" 12 13 ) 13 14 14 15 func (h *Handler) serveJWKS(w http.ResponseWriter, r *http.Request) { ··· 16 17 if err != nil { 17 18 h.serverError(w, err) 18 19 } 20 + ro := helpers.CreateJwksResponseObject(*pubKey) 19 21 encoder := json.NewEncoder(w) 20 - encoder.Encode(pubKey) 22 + encoder.Encode(ro) 21 23 } 22 24 23 25 func (h *Handler) oauthLogin(w http.ResponseWriter, r *http.Request) {