Internal OAuth server

We have a couple of web internal services and we wish to allow them to share user accounts. That is to say, when a user is logged into Site A they would also be logged into Site B and vice versa. I’ve not fully wrapped my head around Oauth yet, but it seems like it might be the way to go. Most of the examples I’ve seen are geared toward consuming an OAuth provider like Google or Facebook and allowing users to log in to your app using Google or FB credentials. This is NOT what I want to do. I already have a user database, and I wish to create my own OAuth provider and allow my own apps to authenticate with the provider on behalf of the user. Not sure what the best way is to accomplish this using Cloudflare services, or if it’s even possible, but it seems like something which should be simple to do. Create an OAuth endpoint, move the user database to a place where the Oauth server can access it, then point the web apps to the OAuth endpoint. The mystery to me is where to host the endpoint, and how to build it. Any help would be appreciated.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.