diff --git a/cmd/frontend/firebase.go b/cmd/frontend/firebase.go index ca554b8..9790212 100644 --- a/cmd/frontend/firebase.go +++ b/cmd/frontend/firebase.go @@ -13,7 +13,9 @@ import ( func tokenIsVerified(w http.ResponseWriter, r *http.Request) bool { idToken := r.Header.Get("Authorization") if idToken == "" { + log.Println("Authorization header missing") http.Error(w, "Authorization header missing", http.StatusUnauthorized) + return false } client, err := b.NewClient()