mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 18:41:14 +00:00
⚡ Add appid to PhillipsHue credentials (#953)
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user