Example Ember app that shows how to do authentication/authorization with FastBoot
MIT License
This example app shows how handling auth in Ember apps can be implemented when using FastBoot which requires the user's authentication state to be kept in sync between the Ember app running in the browser and the FastBoot server.
The master
branch of this repo uses classic token based authorization of API
requests using an Authorization
header whereas the cookie-based
branch uses
cookies for transmitting the token to the API server which is more secure but
has some implications on domains etc.
I'm introducing the concepts behind these apps at EmberCamp London, July 12th 2016.
You will need the following things properly installed on your computer.
git clone <repository-url>
this repositorynpm install
bower install
ember fastboot --serve-assets
ember serve
(this is required as the app needs the mock server)This example app was developed by and © simplabs GmbH/Marco Otte-Witte and contributors. It is released under the MIT License.