return InternalOAuthError when spSiteUrl is not specified