dsuryd / dotNetify

Simple, lightweight, yet powerful way to build real-time web apps.
https://dotnetify.net
Other
1.17k stars 164 forks source link

Using social logins #164

Closed OracPrime closed 5 years ago

OracPrime commented 5 years ago

Hi,

I'm, attempting to set up a dotnetify project using data from Strava, which uses OAuth2. I think I can see a way of doing this in a dotnetify context, but it's looking a bit messy. And things in dotnetify are normally nice and clean, so I was wondering if there is a clean example of how to do this anywhere?

Keep up the good work - really liking the way dotnetify is progressing!

dsuryd commented 5 years ago

I would just use the standard ASP.NET authentication to resolve the user principal context before displaying dotNetify views.

OracPrime commented 5 years ago

So setup a standard mvc page with welcome and login and once authenticated go to the SPA? Makes sense. Let's hope the different routing setups don't fight!

dsuryd commented 5 years ago

Closing this as the question has been answered.