fix: facebook auth

This commit is contained in:
Krispire Admin
2026-06-02 16:14:06 +05:30
parent 59b3687e43
commit b895ceaccf
2 changed files with 19 additions and 1 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ func (h *OAuthHandler) Start(w http.ResponseWriter, r *http.Request) {
})
cfg := prov.Config(h.callbackURL(providerName))
authURL := cfg.AuthCodeURL(state)
authURL := cfg.AuthCodeURL(state, prov.AuthCodeOptions()...)
http.Redirect(w, r, authURL, http.StatusFound)
}