Compare commits
	
		
			2 Commits
		
	
	
		
			v1.0.11
			...
			fdf1501152
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| fdf1501152 | |||
| 774e302ce7 | 
| @@ -36,6 +36,7 @@ func callbackHandler(w http.ResponseWriter, r *http.Request) { | |||||||
| 	code := r.URL.Query().Get("code") | 	code := r.URL.Query().Get("code") | ||||||
| 	token, err := config.Exchange(r.Context(), code) | 	token, err := config.Exchange(r.Context(), code) | ||||||
| 	if err != nil { | 	if err != nil { | ||||||
|  | 		w.Write([]byte(spew.Sdump(err))) | ||||||
| 		http.Error(w, "Error exchanging code for token", http.StatusInternalServerError) | 		http.Error(w, "Error exchanging code for token", http.StatusInternalServerError) | ||||||
| 		return | 		return | ||||||
| 	} | 	} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user