mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 18:41:14 +00:00
feat(Shopify Node): Add OAuth support (#3389)
* ⚡ wip * ⚡ Add includeAccessTokenInHeader option to OAuth2 * 🔨 fixed build error, fixed trigger node when using token auth * 🔨 fixed trigger when using oauth2 * 🔨 changed default auth method to access token * ⚡ Improvements * ⚡ Improvements * ⚡ Improvements * ⚡ Rename includeAccessTokenInHeader to keyToIncludeInAccessTokenHeader * ⚡ Assign values to only header property * 🔥 Remove unreachable code * ⚡ Add keyToIncludeInAccessTokenHeader when isN8nRequest * ⚡ Add CC grant type when isN8nRequest Co-authored-by: Ricardo Espinoza <ricardo@n8n.io> Co-authored-by: ricardo <ricardoespinoza105@gmail.com> Co-authored-by: Jan Oberhauser <janober@users.noreply.github.com>
This commit is contained in:
@@ -38,12 +38,17 @@ export interface IBinaryData {
|
||||
id?: string;
|
||||
}
|
||||
|
||||
// All properties in this interface except for
|
||||
// "includeCredentialsOnRefreshOnBody" will get
|
||||
// removed once we add the OAuth2 hooks to the
|
||||
// credentials file.
|
||||
export interface IOAuth2Options {
|
||||
includeCredentialsOnRefreshOnBody?: boolean;
|
||||
property?: string;
|
||||
tokenType?: string;
|
||||
keepBearer?: boolean;
|
||||
tokenExpiredStatusCode?: number;
|
||||
keyToIncludeInAccessTokenHeader?: string;
|
||||
}
|
||||
|
||||
export interface IConnection {
|
||||
|
||||
Reference in New Issue
Block a user