Ejemplo n.º 1
0
        public async Task ExternalLogin(string provider, string returnUrl = null)
        {
            returnUrl = Url.Action(nameof(ExternalLoginCallback), "Account", new { returnUrl });
            var properties = await _userEngine.ExterAuthConfigureProperties(provider, returnUrl);

            await HttpContext.ChallengeAsync(provider, properties);
        }