Questions tagged [ember-simple-auth]

Ember Simple Auth is a lightweight library for implementing authentication/authorization with Ember.js applications. It has minimal requirements with respect to the application structure, routes etc. With its pluggable strategies it can support all kinds of authentication and authorization mechanisms.

What does it do?

  • it manages a client side session and synchronizes that across tabs/ windows
  • it authenticates users against the application's own server, external providers like Facebook etc.
  • it authorizes requests to the backend server
  • it is easily customizable and extensible

This is only a very brief overview of Ember Simple Auth's features. More detailed docs can be found in the following,

388 questions
0
votes
1 answer

Swapping the stores

I was wondering if I could swap the stores somewhere in an initializer. The thing is, I want to check the window.navigator object for something, and decide which store ember-simple-auth should use. Thanks.
tehmaestro
  • 1,010
  • 2
  • 11
  • 21
0
votes
1 answer

Ember-cli unit test using ember-cli-simple-auth

I'm trying to write a unit test for a controller that uses simple-auth authentication in an ajax call. Assertion tests work great but the session property does not appear to be defined in the unit test module scope. Example action in…
0
votes
1 answer

Ember simple-auth-token won't whitelist API server

I've been pulling my hair out trying to figure out what I've missed; I'm using the simple-auth and simple-auth-token libraries (via ember-cli 0.2.3) and can't seem to get my app to set the appropriate Athentication: HTTP header. From what I've read,…
jackweinbender
  • 413
  • 2
  • 13
0
votes
2 answers

ember-cli torii and multiple providers

I am trying to set up an authenticator which would be valid for many providers, because in the backend I am using doorkeeper assertion method which handles the whole flow. I have installed: * "ember-cli-simple-auth": "0.8.0-beta.1" *…
Moh
  • 249
  • 3
  • 15
0
votes
0 answers

ember-cli simple-auth custom authorization

i am trying to use ember-simple-auth with custom authentication and authorization: authenticator works but authorizer doesn't. Token successfully assigned but there is no injection in ajax calls. app/authenticator/custom.js import Ember from…
skyth
  • 1
0
votes
1 answer

Error Nothing handled the action 'sessionInvalidationSucceeded' using Simple Auth Ember JS

So I have been setting up a auth manager through my ember for the past week a and finally got it working. However, I'm still getting a error when invalidating the user. Nothing handled the action 'sessionInvalidationSucceeded' Can't figure out what…
Thomas Davis
  • 188
  • 1
  • 9
0
votes
1 answer

User authentication and login flow with Ember and JSON web tokens

I'm trying to figure out how is best to do authentication and login flow with Ember. I'll also add that this is the first web app I've built so it's all a bit new to me. I have an Express.js backend with protected endpoints using JWTs (I'm using …
drlaj
  • 144
  • 3
  • 6
0
votes
1 answer

How can I get the ember 'simple-auth' mixins imported into my Routes & Controllers?

I'm working on adding 'ember-simple-auth' to an EAK/grunt-based ember app, upgraded to ember 1.10. Bower is pulling in the latest 'simple-auth.js', not the old 'ember-simple-auth.js' version which the 'ember app kit simple auth' example uses. The…
bobvan
  • 251
  • 3
  • 9
0
votes
1 answer

Ember CLI Simple Auth - Cannot read property 'on' of undefined

I've got two Ember 1.11 project that is using Simple-Auth via Ember cli simple auth. The simpler of the two (the basic hello world app) works just fine...in fact it works great (simple auth is pretty awesome). However, the other one (a recently…
sam
  • 753
  • 1
  • 6
  • 15
0
votes
1 answer

What's a good Login Auth flow

How would I implement a solution like described below? Would it be easier to jack in something like ember-simple-auth? All examples I find implement their own login form, that's not something I'll have. My login will live on its own domain.…
0
votes
0 answers

ember-simple-auth-oauth2 and ember-cli: serverTokenRevocationEndpoint not honored

I'm using the following libraries: ember-cli: 0.2.0.beta.1 ember-cli-simple-auth: 0.7.3 ember-cli-simple-auth-oauth2: 0.7.3 The simple-auth libs were installed like so: ember install:addon ember-cli-simple-auth ember install:addon…
ashraf
  • 537
  • 7
  • 16
0
votes
0 answers

Ember-cli-simple-auth-devise, communicate with the server in an authorized way

I have just created an App with Ember-cli 0.1.12, Rails 4.2, Ember-cli-simple-auth-devise and gem devise. The Sign-in is succesfully completed, but when I try to get the data from the server it returns to me 'No authorization provided.' It looks…
0
votes
1 answer

Login authentication with Ember-cli, Rails and ember-cli-simple-auth-token

I have created an ember-cli project (v 0.1.12) with ember.js (v 1.8.1) and Rails. Than I tried to install: https://www.npmjs.com/package/ember-cli-simple-auth-token but when I run the login POST the server responds to me with this error: Can't…
0
votes
1 answer

Ember Simple Auth - authorizationFailed not executing session invalidation or transitionTo

Problem: Unauthorized requests do not invalidate session and transition to root url. The default method isn't working so I'm overriding it. My Custom Authorizer var CustomAuthorizer = Base.extend({ authorize: function(jqXHR, requestOptions) { …
Peter Kim
  • 193
  • 1
  • 16
0
votes
2 answers

Ember SimpleAuth & SimpleSAMLPHP Screen Flash

I'm building an Ember application and I have to integrate with SimpleSAMLPHP to handle authentication against multiple identity providers (IdP). At a high level, the authentication flow is as follows: User navigates to Ember application User is not…
Jon
  • 1,234
  • 2
  • 12
  • 30