post https://api.authing.cn/api/v3/create-ext-idp-conn
创建身份源
Log in to see full request history
Responses
创建身份源
xxxxxxxxxx
22import { ManagementClient, Models } from 'authing-node-sdk';
// 在 Node.js 中引用:
// const { ManagementClient, Models } = require('authing-node-sdk');
const managementClient = new ManagementClient({
accessKeyId: 'AUTHING_USERPOOL_ID',
accessKeySecret: 'AUTHING_USERPOOL_SECRET',
});
(async () => {
const result = await managementClient.createExtIdpConn(
{
extIdpId: 'xxx',
identifier: 'id',
displayName: 'wechat',
logo:'https://files.authing.co/authing-console/social-connections/icon_xiaochengxu@2x.png',
loginOnly: false,
type: Models.CreateExtIdpConnDto.type.AD,
fields: { appId:'id',appSecret:'app'}
}
)
})();
Try It!
to start a request and see the response here! Or choose an example: