Do I need to use simple auth if I am only using 3rd party auth via server?


#1

I have implemented facebook and twitter authentication on the server for my app. I don’t want to use local authentication. Is there still any benefit in having simple auth ?

I am thinking passing the access token issued by the server on each api call should be enough.


#2

No you don’t but it does the session handling very well. So if you logged in and your progressive web app goes offline Simple Auth handles the sessions while browsing routes offline. See https://bloggr.exmer.com/secret

Also you don’t have to write your own AuthenticatedRouteMixin mixins


#3

@broerse, Thanks after a bit of hit and trials I have got the login and session working with ember-simple-auth.