I need some guidance or just a starting point to work with oauth 2. I’m writing an a app that currently use google’s oath to authenticate any user that attempt to log in. This is piece of cake, however, I need to change it to a client’s oauth 2 app. the problem is that I have no idea how to do so.
any comment, hint, help or suggestion is highly appreciated
Oauth endpoint functionality is not standardised, so what works for Google Oauth2 may not work for another.
Having said that, I needed to do the same thing when writing an Oauth package for my company’s Oauth service, and ended up taking Meteor’s google and accounts-google code and reworking as necessary. I had to discard some parts and add in others for different endpoints returning different data, but it all worked out in the end.