kjm
3 years agoTrusted Cover User
Scheduled Jobs and Login using OAuth2
I am running background jobs using c#/Hangfire on a networked server connecting to myob
This runs a series of jobs on the hour and overnight.
Problem is now that we are going online to connect to MYOB there will need to be a login before the job starts and can connect to MYOB. I have built the oauth connection for gettign the token using our inhouse app and that is fine but that has a user interaction to it..these background jobs do not as it is a machineto machine credential flow.
My understanding is that MYOB has not implemented this spec defined here RFC 6749: The OAuth 2.0 Authorization Framework (rfc-editor.org)
Client Credentials Flow (auth0.com)
How are others getting around this?