Skip to content

Instantly share code, notes, and snippets.

@mclasson
Created August 3, 2017 10:05
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 mclasson/3d9ab6aa6f74ede72b05221db0d496ac to your computer and use it in GitHub Desktop.
Save mclasson/3d9ab6aa6f74ede72b05221db0d496ac to your computer and use it in GitHub Desktop.
app.Map("/login-twitter", login =>
{
login.Run(async context =>
{
await context.ChallengeAsync("Twitter", new AuthenticationProperties() {
RedirectUri = "/" });
return;
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment