Skip to content

Instantly share code, notes, and snippets.

@DonkeyKongJr
Created March 7, 2019 08:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DonkeyKongJr/edced8913df1e90265a140221ccb6a9a to your computer and use it in GitHub Desktop.
Save DonkeyKongJr/edced8913df1e90265a140221ccb6a9a to your computer and use it in GitHub Desktop.
public IActionResult Login(string returnUrl = “/”)
{
await HttpContext.ChallengeAsync(“Auth0”, new AuthenticationProperties() { RedirectUri = returnUrl });
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment