Ask A Question

Notifications

You’re not receiving notifications from this thread.

Implement Authentication Service in Rails

Nelson Casanova asked in Rails

Hello,

I'm currently looking for options to create some form of authentication service based on Rails.

I've got several microservices like app1.site.com app2.site.com and app3.site.com and I would like to have something like auth.site.com so users only have to create their accounts once and use them across sites...

I don't think there's a Devise option that can be used. My research points to Okta or Auth0 which are now, very recently, the same apparently.

What's the right way to implement this? whether is through an external service provider or some other form of custom build application with the help of already existing gems.

Reply

I came to the forum for exactly this question.
I do not have the full answer but it would appear creating an Oauth2 service as your auth.site.com app is a good start.

The auth service will act as authorizer to any pre-registered apps such as app1 and app2 etc Chris has some good content on Oauth2 so give those a watch for an intro and then work out your strategy form there.

Reply

If you are a customer of Publix then you must take part in the Publix survey cause Publix organized. https://surveysguide.onl/

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 87,563+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.