EmberJS: When should I use Torii vs Ember-Simple-Auth?

I am trying to find out the authentication for the web application that I am writing. All I want is a username and password, and so that the user cannot write / edit each other's messages if they are not logged in.

I'm not sure I fully understand this. But it seems that Torii is better if you need to do Facebook or Google authentication, while simple-auth is best for logging in. It is right? Are there other things that Torii can do that Simple-Auth cannot? Are there things Simple-Auth can do that Torii cannot?

+4
source share
1 answer

Actually, since you can read this link , it makes sense to use both together:

Simple Auth is more about saving session / session events, providing the basis for policy authentication and request authorization. Torii is more involved with these external authentications. Thus, it is not as if Simple Auth and Torii could not exist side by side.

+2
source

Source: https://habr.com/ru/post/1676171/


All Articles