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

Ember Simple Auth Torri custom Provider

I am trying to create a custom OAuth Provider for Ember Simple Auth Torri wrapper for Yahoo OAuth 2.0. I used the built in providers for Facebook and Google without any problems,but since Yahoo OAuth package is not provided by default I am trying to…
0
votes
1 answer

How to setup ember-simple-auth if rails is handling the login forms

Im a bit stuck. I dont know how to setup ember-simple-auth with my current rails + ember-cli app. Currently, the user has to login with steam, so they get redirected to steam's login page. When they press authorize, they get redirected back to my…
nahtnam
  • 2,659
  • 1
  • 18
  • 31
0
votes
0 answers

currentUser fetched in Authentication with Torii?

Trying to change a torii authenticator to return an account id from the response, so it's available in the session for fetching the account. In trying to adapt the example to the torii authenticator, I have this starting point (obviously wrong,…
oliverbarnes
  • 2,111
  • 1
  • 20
  • 31
0
votes
2 answers

Example of ember-simple-auth-oauth2 session data

In my Rails app, I am trying to set a cookie to be picked up by Ember Simple Auth's cookie store after the page has loaded. I am using the Ember Simple Auth OAuth2 authorizer. Right now, I am just planting the OAuth data directly as the cookie…
Chris Peters
  • 17,918
  • 6
  • 49
  • 65
0
votes
0 answers

Ember simple auth missing props after restore

When I first do a login, and set some props to this.get('session'), everything works fine. Code below: actions: { // display an error when authentication fails authenticate: function() { var _this = this; var credentials =…
vikingmute
  • 412
  • 2
  • 10
  • 24
0
votes
1 answer

Testing in ember-cli with third-party authentication on a PHP backend

I have an app that uses ember-simple-auth for Google authentication. All requests to my PHP backend are authorized with a Google access token, which the backend checks with Google before doing anything else. I understand ember-simple-auth has a…
Jonathan Chan
  • 354
  • 2
  • 12
0
votes
1 answer

My ember-simple-auth authenticator cannot call super. Why is that?

I'm trying to implement an authenticator such that it will let me send a client_id with OAuth. In app/authenticators/oauth-custom.js: import Authenticator from 'simple-auth-oauth2/authenticators/oauth2'; export default Authenticator.extend({ …
Kit Sunde
  • 35,972
  • 25
  • 125
  • 179
0
votes
1 answer

No authorizer was configured for Ember-Simple-Auth issue (or bug)

After following the Ember-Simple-Auth-Devise installation guide, I came across the following notice on the console: No authorizer was configured for Ember Simple Auth - specify one if backend requests need to be…
Deovandski
  • 790
  • 1
  • 8
  • 22
0
votes
1 answer

ember.js simple-auth with django rest: No authenticator for factory "simple-auth-authenticator:django-rest-auth" could be found

I'm trying to get ember to work with ember-simple-auth (https://github.com/simplabs/ember-simple-auth) and django-rest-auth (https://www.npmjs.com/package/ember-cli-django-rest-auth) but looks like I'm missing something.. I keep getting "Uncaught…
Ronen Ness
  • 9,923
  • 4
  • 33
  • 50
0
votes
1 answer

How does the ember-cli-simple-auth-token library decodes/reads the jwt?

The ember-cli-simple-auth-token documentation specifies that the jwt is decoded and read upon successful authentication with the backend. However I don't understand how it will decode the token, the jwt is originally created with a private key but I…
gcasanova
  • 43
  • 6
0
votes
0 answers

Ember Simple Auth - setting multiple properties in a custom session

Following on from this question I am trying to set both the currentUser and the account properties in my custom session: /app/sessions/custom.js import Ember from 'ember'; import Session from 'simple-auth/session'; export default Session.extend({ …
Joe Czucha
  • 4,123
  • 2
  • 20
  • 28
0
votes
2 answers

ember simple auth authenticate callback issue

I am using ember simple auth to make a custom auth system using ember, everything works fine expect one issue, can't pass data from authenticate promise callback to login controller. code below: //the login goes here authenticate:…
vikingmute
  • 412
  • 2
  • 10
  • 24
0
votes
1 answer

Can't find variable: invalidateSession using ember-cli-simple-auth-testing

I'm using ember-cli-simple-auth and testing with ember-cli-simple-auth-testing. I've followed the README to install the testing library. tests/helpers/start-app.js contains: import Ember from 'ember'; import Application from '../../app'; import…
Jon
  • 9,815
  • 9
  • 46
  • 67
0
votes
1 answer

Stub authentication server used by ember-simple-auth during development

I'm using ember-simple-auth in my emberjs app to authenticate via oauth2-password-grant with my own (currently unimplemented) service. I'd like to continue developing the front-end before creating the authentication service. Can the authentication…
Jon
  • 9,815
  • 9
  • 46
  • 67
0
votes
1 answer

Ember Simple Auth: how to keep data in a step by step process after redirection to login route

I'm creating an app using Ember.js. This application allows to book an appointment at the doctor. You have a booking process with a few steps. After step 1 (booking/start), you have a screen that shows up if the user isn't connected (booking/user).…
Lionel Rudaz
  • 173
  • 1
  • 10