Creating a Custom OAuth App
Custom OAuth Credentials
To obtain an OAuthClientId and an OAuthClientSecret directly from your MYOB account's UI:
- Log in to your MYOB account.
- From the Home Page, select Developer.
- Click Register App.
- Enter the information for your App.
- Finish the registration.
Your newly created app's Client ID and Client Secret will be displayed on the screen. The Client ID will be displayed as key and the Client Secret as secret.
You will need to specify a Redirect Uri. This is a uri you expect the the user to be redirected to after authorizing your app. For desktop and headless machine apps, set this to something like http://localhost:33333.
You can now use these credentials to connect to MYOB by setting them as the following connection properties:
- OAuthClientId = Client Id
- OAuthClientSecret = Client Secret
- InitiateOAuth = GETANDREFRESH
- CallbackURL = Redirect Uri