@@ -334,6 +334,8 @@ func TestBasicAuthPassword(t *testing.T) {
334334 rw = httptest.NewRecorder()
335335 proxy.ServeHTTP(rw, req)
336336
337+ // The username in the basic auth credentials is expected to be equal to the email address from the
338+ // auth response, so we use the same variable here.
337339 expectedHeader := "Basic " + base64.StdEncoding.EncodeToString([]byte(emailAddress+":"+opts.BasicAuthPassword))
338340 assert.Equal(t, expectedHeader, rw.Body.String())
339341 providerServer.Close()