Ember authentication best practices?

前端 未结 5 2074
隐瞒了意图╮
隐瞒了意图╮ 2020-12-12 10:46

Does anyone have experience creating an authentication mechanism with the new router in pre4?

Here are some of my thoughts so far:

  • In order to complet
5条回答
  •  我在风中等你
    2020-12-12 11:29

    I recently changed from a bespoke auth system to using ember-simple-auth and found it very easy to integrate with my app. It fulfills all of the OPs requirements and also has built in support for refresh tokens.

    They have a really nice API and a great set of examples. Anyone interested in token based auth should check it out.

提交回复
热议问题