Actually, I didn’t have much to do to get it working in MVC as it’s essentially 
already built in. All you have to do is uncomment some lines of code and then 
configure the authentication providers at the source. I will take a look at the 
link you’ve provided in case it does something different. Thanks for that.

 

Interestingly enough, the only provider I had problems with was the Microsoft 
one. It errored out with a message that Microsoft authentication wasn’t 
available at this time. My solution: If they want to make things hard, forget 
about Microsoft. 

 

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of William Luu
Sent: Wednesday, 12 February 2014 6:36 PM
To: ozDotNet
Subject: Re: Authenticating with third party providers in MVC5

 

Hi Tony,

 

While I don't know too much about these social/3rd party logins, there's an 
open source .net library that does what you've implemented. So perhaps download 
their lib and see if it works the way you expect it to with regards to the 
logout.

 

See: https://github.com/SimpleAuthentication/SimpleAuthentication

 

Cheers,

 

Will

 

On Wed, Feb 12, 2014 at 5:54 PM, Tony Wright <tonyw...@gmail.com 
<mailto:tonyw...@gmail.com> > wrote:

Hi all,

 

I have implemented third-party login in my MVC app. I can log in using google, 
facebook and twitter.

 

When I click the Logout button, it logs out from my application, but not from 
the third-party provider.

 

To log out from the third-party provider, I usually need to go directly to that 
provider’s page and log it out.

 

Is this a normal behaviour that should be acceptable, or is there some sort of 
call I should be making to get it to log out the third-party provider?

 

Regards,

Tony

 

 

Reply via email to