Skip to content
This repository was archived by the owner on Sep 2, 2024. It is now read-only.

Commit 4682cad

Browse files
committed
return HTTP OK instead of 404 while waiting for OAuth process to complete
1 parent 9ae0a4e commit 4682cad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oauth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ func (*ExternalLogins) getUser(w http.ResponseWriter, r *http.Request) {
199199

200200
var extuser ExternalUser
201201
if err := volatile.GetTyped("extuser_"+reqID, &extuser); err != nil {
202-
respond(w, http.StatusNotFound, err)
202+
respond(w, http.StatusOK, false)
203203
return
204204
}
205205

0 commit comments

Comments
 (0)