예제 #1
0
        public void DirectUserToServiceProvider()
        {
            string loginUrl = GetLoginUrl(ConnectionToken.ProviderCallbackUrl);

            try
            {
                logger.Debug("Redirecting user for login to " + loginUrl);
                SocialAuthUser.Redirect(loginUrl);
            }
            catch (Exception ex)
            {
                logger.Error(ErrorMessages.UserLoginRedirectionError(loginUrl), ex);
            }
        }