mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix(core): Do not add Authentication header when authentication type is body (#8201)
This commit is contained in:
committed by
GitHub
parent
ccb2b076f8
commit
ac1c642fdd
@@ -2124,23 +2124,6 @@ export interface IConnectedNode {
|
||||
depth: number;
|
||||
}
|
||||
|
||||
export const enum OAuth2GrantType {
|
||||
pkce = 'pkce',
|
||||
authorizationCode = 'authorizationCode',
|
||||
clientCredentials = 'clientCredentials',
|
||||
}
|
||||
export interface IOAuth2Credentials {
|
||||
grantType: 'authorizationCode' | 'clientCredentials' | 'pkce';
|
||||
clientId: string;
|
||||
clientSecret: string;
|
||||
accessTokenUrl: string;
|
||||
authUrl: string;
|
||||
authQueryParameters: string;
|
||||
authentication: 'body' | 'header';
|
||||
scope: string;
|
||||
oauthTokenData?: IDataObject;
|
||||
}
|
||||
|
||||
export type PublicInstalledPackage = {
|
||||
packageName: string;
|
||||
installedVersion: string;
|
||||
|
||||
Reference in New Issue
Block a user