Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4826

Help with JWT Auth with Ember Simple Auth, Ember Simple Auth Token, and Knock on Rails Backend

$
0
0

@johnnyicon wrote:

Hi there,

I am having trouble with setting up JWT authentication with Ember Simple Auth, Ember Simple Auth Token, and Knock on a Rails Backend.

The only part that doesn’t seem to be working is that the user does seem to be loaded into the session after being authenticated.

In summary, here’s what I have:

  1. Ember: login form sends email and password to Rails Backend
    1. Login form is using Ember Simple Auth Token’s JWT authenticator
  2. Rails + Knock: authenticates the credentials and returns a JWT token
  3. Ember: receives the JWT token and says it’s been authenticated

However, when I look at the Ember Data Store, there is no user loaded. Am I missing something here?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4826

Trending Articles