n8n/packages/core/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
..
BinaryDataManager feat(Webhook Node): Stream binary response in lastNode.firstEntryBinary mode (#6463) 2023-06-19 13:54:56 +02:00
ActiveWorkflows.ts refactor: Integrate consistent-type-imports in BE packages (no-changelog) (#5270) 2023-01-27 14:56:56 +01:00
ClassLoader.ts feat(core): Lazy-load nodes and credentials to reduce baseline memory usage (#4577) 2022-11-23 16:20:28 +01:00
Constants.ts refactor: Remove n8n-core dependency in nodes-base (no-changelog) (#5649) 2023-03-09 18:13:15 +01:00
Credentials.ts refactor: Integrate consistent-type-imports in BE packages (no-changelog) (#5270) 2023-01-27 14:56:56 +01:00
DirectoryLoader.ts refactor: Accumulate loadOptions from all node versions to validate (no-changelog) (#6014) 2023-04-20 16:21:07 +02:00
errors.ts fix(core): Do not allow arbitrary path traversal in BinaryDataManager (#5523) 2023-02-21 11:21:17 +01:00
EventEmitter.ts feat(core): Workflow Execution Statistics (#4200) 2022-12-06 14:55:40 +00:00
ExtractValue.ts refactor: Integrate consistent-type-imports in BE packages (no-changelog) (#5270) 2023-01-27 14:56:56 +01:00
index.ts feat(editor): Implement Resource Mapper component (#6207) 2023-05-31 11:56:09 +02:00
Interfaces.ts feat(editor): Implement Resource Mapper component (#6207) 2023-05-31 11:56:09 +02:00
LoadMappingOptions.ts feat(editor): Implement Resource Mapper component (#6207) 2023-05-31 11:56:09 +02:00
LoadNodeDetails.ts fix(core): delete some of the redundant code in core (#4359) 2022-10-21 11:38:56 +02:00
LoadNodeListSearch.ts refactor: Setup typescript project references across workflow, core, and cli (#4519) 2022-11-09 15:25:00 +01:00
LoadNodeParameterOptions.ts refactor: Integrate consistent-type-imports in BE packages (no-changelog) (#5270) 2023-01-27 14:56:56 +01:00
NodeExecuteFunctions.ts feat(core): Add PKCE for OAuth2 (#6324) 2023-06-21 10:54:32 +02:00
OAuth2Helper.ts feat(core): Replace client-oauth2 with an in-repo package (#6266) 2023-05-17 16:40:53 +02:00
UserSettings.ts ci: Make end-to-end testing independent of development environments (no-changelog) (#4709) 2022-11-24 12:49:01 +01:00
WorkflowExecute.ts fix(core): Fix pairedItem for alwaysOutputData & multi identical resolve (#6405) 2023-06-21 10:38:28 +03:00
WorkflowExecutionMetadata.ts fix(core): Validate customData keys and values (#5920) (no-changelog) 2023-04-12 09:18:26 +01:00