Skip to main content
Ask A Question
Notifications
You’re not receiving notifications from this thread.
Subscribe

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

General • Asked by Aniket Rao

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?


Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 29,763+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.