Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 502 Bytes

File metadata and controls

25 lines (19 loc) · 502 Bytes
description Automatically generated file. DO NOT MODIFY
const options = {
	authProvider,
};

const client = Client.init(options);

const identityProviderBase = {
  '@odata.type': 'microsoft.graph.socialIdentityProvider',
  displayName: 'Login with Amazon',
  identityProviderType: 'Amazon',
  clientId: '00001111-aaaa-2222-bbbb-3333cccc4444',
  clientSecret: '42*****96'
};

await client.api('/identity/identityProviders')
	.version('beta')
	.post(identityProviderBase);