package auth import "net/http" // == define error HTML here == const oauthNotConfigured = `
Please visit the docs here to learn how to.
` // handleOauthNotConfigured - returns an appropriate html page when oauth is not configured on netmaker server but an oauth login was attempted func handleOauthNotConfigured(response http.ResponseWriter) { response.Header().Set("Content-Type", "text/html; charset=utf-8") response.WriteHeader(http.StatusInternalServerError) response.Write([]byte(oauthNotConfigured)) }