Setting up DoorKeeper with multiple Rails/React applications?

孤街浪徒 提交于 2020-07-10 08:38:06

问题


I've built multiple Rails/React applications for my company (all in one using Rails 6. Rails renders json to React).

All applications will be on the same domain and eventually, access rights will be done via VPN. For now, I would like to build a Single Sign On app that would give a list of apps to choose from (Accounts, Dashboard, Audits, etc). Based on the users credentials, they may or may not have certain privileges on these applications.

I appears that the Doorkeeper Gem is the way to go and that the SSO app would also be using Devise for User?

I should add but not sure if it makes a difference. Some of the apps are Rails MVC only. Others use Rails api and React frontend.

And do I create a 'portal' app with just User and devise?

Here's a wireframe of the setup:

来源:https://stackoverflow.com/questions/61390468/setting-up-doorkeeper-with-multiple-rails-react-applications

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!