Skip to content

call set_options_post_auth hooks for non-OAuth2 connections#218

Merged
nickmazurenko merged 4 commits intodevelopfrom
feature/217-set-options-post-auth-non-oauth2
Feb 16, 2026
Merged

call set_options_post_auth hooks for non-OAuth2 connections#218
nickmazurenko merged 4 commits intodevelopfrom
feature/217-set-options-post-auth-non-oauth2

Conversation

@nickmazurenko
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings February 15, 2026 20:35
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates TypeScriptAppRestConnection to execute REST set_options_post_auth / set_options_post_auth_code hooks for non-OAuth2 connections during connection construction, aligning behavior with the existing OAuth2 post-auth update flow.

Changes:

  • Invoke post-auth hooks in TypeScriptAppRestConnection::getConfig() when oauth2_grant_type is unset/none.
  • Merge returned options into connection opts and update the connection URL when a URL is returned by the hook.
  • Update the copyright year range in the module header.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

nickmazurenko and others added 2 commits February 15, 2026 23:33
The CI's DataProvider v2.3.0 now requires a "groups" key in app
registrations. Add groups: ['Other'] to the External-app custom
app example to fix the remaining CI failure.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings February 15, 2026 22:10
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@nickmazurenko nickmazurenko merged commit d367cf6 into develop Feb 16, 2026
2 checks passed
@nickmazurenko nickmazurenko deleted the feature/217-set-options-post-auth-non-oauth2 branch February 16, 2026 11:27
@nickmazurenko nickmazurenko linked an issue Feb 16, 2026 that may be closed by this pull request
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.

Fix FreshDesk Auth

2 participants

Comments