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';
|
displayName = 'PhilipHue OAuth2 API';
|
||||||
documentationUrl = 'philipsHue';
|
documentationUrl = 'philipsHue';
|
||||||
properties = [
|
properties = [
|
||||||
|
{
|
||||||
|
displayName: 'APP ID',
|
||||||
|
name: 'appId',
|
||||||
|
type: 'string' as NodePropertyTypes,
|
||||||
|
default: '',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Authorization URL',
|
displayName: 'Authorization URL',
|
||||||
name: 'authUrl',
|
name: 'authUrl',
|
||||||
|
@ -27,7 +33,7 @@ export class PhilipsHueOAuth2Api implements ICredentialType {
|
||||||
displayName: 'Auth URI Query Parameters',
|
displayName: 'Auth URI Query Parameters',
|
||||||
name: 'authQueryParameters',
|
name: 'authQueryParameters',
|
||||||
type: 'hidden' as NodePropertyTypes,
|
type: 'hidden' as NodePropertyTypes,
|
||||||
default: '',
|
default: '={{"appid="+$parameter["appId"]}}',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Scope',
|
displayName: 'Scope',
|
||||||
|
@ -36,11 +42,11 @@ export class PhilipsHueOAuth2Api implements ICredentialType {
|
||||||
default: '',
|
default: '',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Authentication',
|
displayName: 'Authentication',
|
||||||
name: 'authentication',
|
name: 'authentication',
|
||||||
type: 'hidden' as NodePropertyTypes,
|
type: 'hidden' as NodePropertyTypes,
|
||||||
default: 'header',
|
default: 'header',
|
||||||
description: 'Method of authentication.',
|
description: 'Method of authentication.',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue