0👍
If your thinking about being a OAuth or Authentication server or provider rather than using OAuth to athenticate with a third party server. I would suggest you start and end with Gluu, plus they have amazing documentation.
Source:stackexchange.com