I’m currently building an integration with Greenhouse.io’s ingestion API which authenticates via OAuth 2.0.
In my database, I have a collection for both users and companies where multiple users belong to one company. I want to easily allow any user associated with a company to authenticate via OAuth to the Greenhouse API, allowing any user across the company to access the API.
My assumption is that I will need to somehow authenticate with OAuth and then store the keys in the customer document as opposed to the user document. How would I go about doing this with Meteor 1.3?
- Meteor 1.3
- Blaze / spacebars for the frontend.