Yes, I built one process for Google and one for Microsoft. It’s not too complicated once you figure out the steps. Unfortunately I don’t have time to create a write up of those steps.
Be careful going too far down the path with Google unless you are sure you will not require any of their restricted scopes.