switch oauthd endpoint