mercredi 23 mars 2016

Get two versions of ember-simple-auth to play well together

We're working with two ember applications that each run different version of ember and ember-simple-auth, and want to get ember-simple-auth to work well with both version.

The old app

  • Ember 1.8.1
  • Ember-simple-auth 0.7.3

The new app

  • Ember 2.3.1
  • Ember-simple-auth 1.0.1
  • Uses cookie session store

We trying to change the session API for the older version so that it stores the access and refresh tokens correctly so the new app can use it.

So far, we’ve tried overriding the setup and updateStore methods to work with the authenticated nested object but are still running into issues.




Aucun commentaire:

Enregistrer un commentaire