-
Notifications
You must be signed in to change notification settings - Fork 8.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: HighLevel oauth2 api credentials #9542
feat: HighLevel oauth2 api credentials #9542
Conversation
@@ -25,7 +25,12 @@ export class OAuth2CredentialController extends AbstractOAuthController { | |||
// At some point in the past we saved hidden scopes to credentials (but shouldn't) | |||
// Delete scope before applying defaults to make sure new scopes are present on reconnect | |||
// Generic Oauth2 API is an exception because it needs to save the scope | |||
const genericOAuth2 = ['oAuth2Api', 'googleOAuth2Api', 'microsoftOAuth2Api']; | |||
const genericOAuth2 = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this change necessary? is it to prevent the delete decryptedDataOriginal.scope
call?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have bug with Scopes property in OAuth2 as it not possible to set value there, scopes are always empty in authorization url, I will create ticket for that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in that case we should leave a comment in the code linking to the ticket, to make sure that anyone looking at this code isn't confused about why one particular service's oauth credential type is being included in the generic type list.
…enterprise-request-support-for-highlevel-api-v2
…enterprise-request-support-for-highlevel-api-v2
|
Passing run #5184 ↗︎
Details:
Review all test suite changes for PR #9542 ↗︎ |
…enterprise-request-support-for-highlevel-api-v2
✅ All Cypress E2E specs passed |
Got released with |
* master: fix(editor): Fix ts errors across the board (no-changelog) (#9561) refactor(core): Extract all Auth-related User columns into a separate entity (#9557) refactor(core): Update supertest, and fix some typing errors (no-changelog) (#9527) fix(editor): Render checkboxes in markdown (#9549) test(core): Rename and combine all credential api tests (no-changelog) (#9550) 🚀 Release 1.44.0 (#9553) feat(editor): Node Creator AI nodes improvements (#9484) fix(editor): Show workflow data in header when execution page is hard reloaded (#9529) refactor(core): Stop reporting to Sentry `NodeApiError` with 5xx status codes (no-changelog) (#9552) feat: HighLevel oauth2 api credentials (#9542) fix(editor): Fix empty node name handling (#9548) ci: Fix vulnerable dev dependencies (no-changelog) (#9545) fix: Don't throw errors for NaN in number operators in the filter component (#9506) fix(core): Try setting postgres search_path on the database (#9530) fix(editor): Redirect to workflows list after deleting a workflow (#9546) # Conflicts: # packages/editor-ui/src/views/NodeView.vue # pnpm-lock.yaml
Summary
support for HighLevel API v2 credentials
Review / Merge checklist
https://linear.app/n8n/issue/NODE-783/enterprise-request-support-for-highlevel-api-v2