mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(HTTP Request Node): Support generic credentials when using pagination (#7686)
Github issue / Community forum post (link here to close automatically): fixes #7653 Co-authored-by: Michael Kret <michael.k@radency.com>
This commit is contained in:
@@ -1695,10 +1695,10 @@ export async function requestWithAuthentication(
|
||||
try {
|
||||
const parentTypes = additionalData.credentialsHelper.getParentTypes(credentialsType);
|
||||
|
||||
if (parentTypes.includes('oAuth1Api')) {
|
||||
if (credentialsType === 'oAuth1Api' || parentTypes.includes('oAuth1Api')) {
|
||||
return await requestOAuth1.call(this, credentialsType, requestOptions, false);
|
||||
}
|
||||
if (parentTypes.includes('oAuth2Api')) {
|
||||
if (credentialsType === 'oAuth2Api' || parentTypes.includes('oAuth2Api')) {
|
||||
return await requestOAuth2.call(
|
||||
this,
|
||||
credentialsType,
|
||||
|
||||
Reference in New Issue
Block a user