Ruby on Rails
Thursday, January 11, 2018
Could you suggest the way to go if I have to authenticate via a external API (like we do with Facebook or Twitter, for example) all the users who try to access a Rails API application ? The external authentication provider provides my Rails application with its client id and secret key. I looked at many resources, rails screencasts, etc about Doorkeeper, omniauth-oauth2, jwt gems, etc and still lost how to glue all that together. So I have a Rails API as back-end, Ember JS (or what ever else) as front-end and external authentication API where all other applications should be registered.
-- How to proceed, whet to use, should I create a custom strategy like it explained in Doorkeeper wiki ? Any other ways ?
Thank you in advance
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/135da39e-529b-44e8-9551-c88356a1c874%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment