n8n/packages/workflow/src
agobrech fc7261aca6
feat(core): Add PKCE for OAuth2 (#6324)
* Remove authorization header when empty

* Import pkce

* Add OAuth2 with new grant type to Twitter

* Add pkce logic auto assign authorization code if pkce not defined

* Add pkce to ui and interfaces

* Fix scopes for Oauth2 twitter

* Deubg + pass it through header

* Add debug console, add airtable cred

* Remove all console.logs, make PKCE in th body only when it exists

* Remove invalid character ~

* Remove more console.logs

* remove body inside query

* Remove useless grantype check

* Hide oauth2 twitter waiting for overhaul

* Remove redundant header removal

* Remove more console.logs

* Add comment for code verifier

* Remove uneeded scopes

* Restore client id in callback

* Revert "Add OAuth2 with new grant type to Twitter"

This reverts commit 1c3b331aa1.

* Remove oauth2 from twitter

* Remove properties linked to oauth2

* Fix lodash imports

* remove redundant check

* remove redundant codeVerifier

* patch pkce-challenge to avoid generating `code_verifier` with `~`

* store `codeVerifier` on the DB like `csrfSecret`

* remove unrelated changes

---------

Co-authored-by: Marcus <marcus@n8n.io>
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-06-21 10:54:32 +02:00
..
Extensions refactor(editor): Stricter linting for promises and async functions (no-changelog) (#4642) 2023-05-10 18:10:03 +03:00
NativeMethods feat(editor): Add missing documentation to autocomplete items for inline code editor (#5560) 2023-02-28 07:34:03 +03:00
AugmentObject.ts fix(core): Fix hasOwnProperty on augmented objects (#6124) 2023-04-28 11:49:53 +02:00
Authentication.ts feat(core): Add SAML login setup (#5515) 2023-02-24 20:37:19 +01:00
Constants.ts feat(Code Node): Add Python support (#4295) 2023-05-04 20:00:00 +02:00
Cron.ts [N8N-4339] Unify all Cron-specific code. Improve typing, and add tests. (#3887) 2022-08-19 12:45:04 +02:00
DeferredPromise.ts refactor(core): Stop importing LoggerProxy and createDeferredPromise in nodes-base (no-changelog) (#5742) 2023-03-22 14:04:15 +01:00
ErrorReporterProxy.ts fix(core): Error reporter should log all error on an error-chain (no-changelog) (#5342) 2023-02-03 13:53:51 +01:00
ExecutionStatus.ts feat(core): Add execution runData recovery and status field (#5112) 2023-02-17 10:54:07 +01:00
Expression.ts fix(core): Prevent arbitrary code execution via expressions (#6420) 2023-06-14 13:15:27 +02:00
ExpressionError.ts feat(editor): Completions for extensions in expression editor (#5130) 2023-02-02 12:35:38 +01:00
index.ts feat(editor): Implement Resource Mapper component (#6207) 2023-05-31 11:56:09 +02:00
Interfaces.ts feat(core): Add PKCE for OAuth2 (#6324) 2023-06-21 10:54:32 +02:00
LoggerProxy.ts refactor(core): Delete duplicate code across all commands (#5452) 2023-02-10 14:59:20 +01:00
MessageEventBus.ts refactor(core): Forbid raw enums (no-changelog) 2023-04-21 14:23:15 +03:00
NodeErrors.ts fix(core): Improve the error returned to users on SSL issues (#6494) 2023-06-20 17:54:05 +02:00
NodeHelpers.ts refactor(core): Replace lodash's "soft-deprecated" individual packages with lodash to resolve CVE (no-changelog) (#6450) 2023-06-16 16:26:35 +02:00
ObservableObject.ts refactor: Integrate consistent-type-imports in BE packages (no-changelog) (#5270) 2023-01-27 14:56:56 +01:00
RoutingNode.ts refactor(core): Replace lodash's "soft-deprecated" individual packages with lodash to resolve CVE (no-changelog) (#6450) 2023-06-16 16:26:35 +02:00
TelemetryHelpers.ts refactor: catch doesn't need to have a param (no-changelog) (#5614) 2023-03-03 18:18:49 +01:00
type-guards.ts feat(editor): Implement Resource Mapper component (#6207) 2023-05-31 11:56:09 +02:00
types.d.ts fix(workflow): remove a few ts-ignore and eslint-disable (#3958) 2022-09-09 16:34:50 +02:00
utils.ts fix(core): Avoid using Object.keys on Buffer and other non-plain objects (#6131) 2023-04-28 13:05:48 +02:00
VersionedNodeType.ts refactor: rename NodeVersionedType to VersionedNodeType and move it to the workflow package (#4443) 2022-10-25 21:33:12 +02:00
Workflow.ts feat(editor): Implement Resource Mapper component (#6207) 2023-05-31 11:56:09 +02:00
WorkflowActivationError.ts refactor: Integrate consistent-type-imports in BE packages (no-changelog) (#5270) 2023-01-27 14:56:56 +01:00
WorkflowDataProxy.ts fix(core): Fix pairedItem for alwaysOutputData & multi identical resolve (#6405) 2023-06-21 10:38:28 +03:00
WorkflowErrors.ts feat(core): Add execution runData recovery and status field (#5112) 2023-02-17 10:54:07 +01:00
WorkflowHooks.ts fix: Make sure retryOf does not take null value (no-changelog) (#5915) 2023-04-06 13:02:46 +02:00