Skip to content

Support configurable OAuth scopes and prompt=consent for granular authentication#40

Open
darwintantuco wants to merge 1 commit intodavidlumley:masterfrom
darwintantuco:dt-feature-configurable-oauth-scopes
Open

Support configurable OAuth scopes and prompt=consent for granular authentication#40
darwintantuco wants to merge 1 commit intodavidlumley:masterfrom
darwintantuco:dt-feature-configurable-oauth-scopes

Conversation

@darwintantuco
Copy link
Copy Markdown

Add support for MYOB's granular SME scopes, prompt=consent, and direct company file selection via businessId

  • Allow custom scope at client initialization or per-call (defaults to CompanyFile for backward compatibility)
  • Add force_consent: true option to include prompt=consent in the authorization URL
  • Add set_company_file_from_business_id to set the company file directly from a businessId GUID without calling the company file listing API

All changes are backward compatible.

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant