Save 36% for Black Friday! Learn more

Ask A Question

Notifications

You’re not receiving notifications from this thread.

How do I integrate Doorkeeper gem with a Multitenant SaaS Application?

Aniket Rao asked in General

So I have a Multitenant SaaS Application where users signup, pay, create an account and start using the service. Now I have received a requirement where this service needs to have a andriod client which needs to be global to the application and not the tenant. Now how do I make my SaaS application to act as a OAuth2 provider and authenticate and authorize the client?

If the user wants to sign in via the Android Client, at that moment I do not know which tenant/account the user belongs to so I cannot confirm the subdomain in play for confirmation.

Can anybody suggest a good way to handle this?

Reply
Join the discussion
Create an account Log in

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

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

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