mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
✨ Add Microsoft Dynamics CRM Node (#2292)
* ✨ Microsoft Dynamics CRM * ⚡ Improvements * ⚡ Improvements * ⚡ Minor improvements Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
import {
|
||||
ICredentialType,
|
||||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export class MicrosoftDynamicsOAuth2Api implements ICredentialType {
|
||||
name = 'microsoftDynamicsOAuth2Api';
|
||||
extends = [
|
||||
'microsoftOAuth2Api',
|
||||
];
|
||||
displayName = 'Microsoft Dynamics OAuth2 API';
|
||||
documentationUrl = 'microsoft';
|
||||
properties: INodeProperties[] = [
|
||||
//https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-permissions-and-consent
|
||||
{
|
||||
displayName: 'Subdomain',
|
||||
name: 'subdomain',
|
||||
type: 'string',
|
||||
required: true,
|
||||
placeholder: 'organization',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'Scope',
|
||||
name: 'scope',
|
||||
type: 'hidden',
|
||||
default: '=openid offline_access https://{{$self.subdomain}}.crm.dynamics.com/.default',
|
||||
},
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user