devise_token_auth
devise_token_auth copied to clipboard
How to use omniauth from SPA
I've been at this for days now and am unable to figure out how to get omniauth working with Ember Simple Auth. I also tried J Toker, but it seems that is no longer supported.
Can I just get an explanation in pure HTTP requests/responses for the process of using omniauth (specifically Facebook)? If I just understood what this gem was expecting to receive at each endpoint, what it sends back, and in what order, I'd be very happy to help on J-Toker or create an Ember addon. Thanks!
@joshfester very good point. I'm going to leave this one open...I will try to come back and explain more when I come back from my issue audit!
@joshfester did you make any headway using this with Ember? I'm evaluating my options for Ember + Rails API + JSON API
@jayvarner to my relief, my team ended up going with email-only logins, so I stopped pursuing this. However, I definitely recommend that stack! It has allowed me and my team to be incredibly productive in ways I haven't experienced with other stacks.
Just curious if anyone has had any updates or figured out how to get this working. I'd love to learn how to use a React App with SPA and omniauth. I've been wrestling with the proper way to do this for awhile now and wish the documentation was just a bit more beefy...
Email login is working excellently, however!
@andrewmartin, I haven't had time to come back to this gem. I'm currently using rails_api_auth and then ember-simple-auth + torii on the front end. It works well enough. I haven't tried anything like that with React. This article might help?
@andrewmartin I'm actually facing this issue. Did you find a way to implement it? I've been asking everywhere from slack, stack overflow but I haven't got any response 😔
has anyone got it to work?
It's been long enough that I can't remember where I got stuck with this gem. We've gone all OAuth and not storing/managing user passwords. So there is no reason for us to use Devise. Omniauth is all we need on the Rails side.
but in omniauth callback it stores password