A
A
Argenon2015-10-10 14:49:46
Ember.js
Argenon, 2015-10-10 14:49:46

How to do authentication in ember js?

I continue to deal with ember in my spare time. Reached the need for authentication.
Can you please tell me how to authenticate users?
I am using ember-cli and CouchDB database.
I found the Ember Simple Auth module, but I can’t figure out if it’s possible to authenticate users if logins and passwords are stored in CouchDB... I found examples with Rails, but I would like to work directly with the database, is it possible? If possible, I would like to see an example.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stanislav Romanov, 2015-10-10
@Kaer_Morchen

Yes, you can write a custom authenticator on Ember Simple Auth. There are only a few methods to define, everything is pretty easy.
See examples in examples .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question