mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-02 07:01:30 -08:00
⚡ Add appid to PhillipsHue credentials (#953)
This commit is contained in:
parent
6d8e9b1cd2
commit
ae343b9f79
|
@ -11,6 +11,12 @@ export class PhilipsHueOAuth2Api implements ICredentialType {
|
|||
displayName = 'PhilipHue OAuth2 API';
|
||||
documentationUrl = 'philipsHue';
|
||||
properties = [
|
||||
{
|
||||
displayName: 'APP ID',
|
||||
name: 'appId',
|
||||
type: 'string' as NodePropertyTypes,
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'Authorization URL',
|
||||
name: 'authUrl',
|
||||
|
@ -27,7 +33,7 @@ export class PhilipsHueOAuth2Api implements ICredentialType {
|
|||
displayName: 'Auth URI Query Parameters',
|
||||
name: 'authQueryParameters',
|
||||
type: 'hidden' as NodePropertyTypes,
|
||||
default: '',
|
||||
default: '={{"appid="+$parameter["appId"]}}',
|
||||
},
|
||||
{
|
||||
displayName: 'Scope',
|
||||
|
@ -36,11 +42,11 @@ export class PhilipsHueOAuth2Api implements ICredentialType {
|
|||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'Authentication',
|
||||
name: 'authentication',
|
||||
type: 'hidden' as NodePropertyTypes,
|
||||
default: 'header',
|
||||
description: 'Method of authentication.',
|
||||
},
|
||||
displayName: 'Authentication',
|
||||
name: 'authentication',
|
||||
type: 'hidden' as NodePropertyTypes,
|
||||
default: 'header',
|
||||
description: 'Method of authentication.',
|
||||
},
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue