Skip to content

Instantly share code, notes, and snippets.

View tjoudeh's full-sized avatar
🏠
Working from home

Taiseer Joudeh tjoudeh

🏠
Working from home
View GitHub Profile
[OverrideAuthentication]
[HostAuthentication(DefaultAuthenticationTypes.ExternalCookie)]
[AllowAnonymous]
[Route("ExternalLogin", Name = "ExternalLogin")]
public async Task<IHttpActionResult> GetExternalLogin(string provider, string error = null)
{
string redirectUri = string.Empty;
OAuthClient oAuthClient = null;
if (error != null)