Skip to content

Oauth2 Support#407

Open
isc-klu wants to merge 2 commits into
intersystems:masterfrom
isc-klu:oauth2
Open

Oauth2 Support#407
isc-klu wants to merge 2 commits into
intersystems:masterfrom
isc-klu:oauth2

Conversation

@isc-klu

@isc-klu isc-klu commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Refactor authentication handling to support OAuth2 and other credential types beyond basic auth. Extract shared protocol types to a new common package for better type safety across client/server boundaries.

Key changes:

  • Introduce common package with shared ServerSpec and protocol method types
  • Replace password-based auth with flexible credentials field supporting both basic auth and OAuth2 bearer tokens
  • Add type-safe request/response handlers in client using ProtocolMethods interface
  • Update REST client to use credential objects instead of direct username/password
  • Why: This architecture enables the extension to support modern authentication patterns (OAuth2, bearer tokens, API keys) while maintaining backward compatibility with existing password-based workflows.

@isc-klu isc-klu requested a review from isc-bsaviano as a code owner July 2, 2026 18:46
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