question

uflakar-0430 avatar image
0 Votes"
uflakar-0430 asked uflakar-0430 answered

Add custom IDP (openidconnect) through /beta/identity/identityProviders returning 500

returns AADB2C90063

the request as follows
{
"@odata.type": "microsoft.graph.openIdConnectIdentityProvider",
"displayName": "Login provider",
"identityProviderType": "OpenIdConnect",
"clientId": "{ {ClientID}}",
"clientSecret": "{ {secret}}",
"scope": "openid",
"metadataUrl": "{ {metaDataUrl}}",
"domainHint": "",
"responseType": "code",
"responseMode": "query"
}

Am I wrong in suspecting that this is not fully supported yet as in beta?

Rgd
ufl

azure-ad-b2cmicrosoft-graph-identity
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

uflakar-0430 avatar image
0 Votes"
uflakar-0430 answered

Working

{
"@odata.type": "microsoft.graph.openIdConnectIdentityProvider",
"displayName": "Login Provider",
"clientId": "{ {ClientID}}",
"clientSecret": "{ {ClientSecret}}",
"scope": "openid",
"metadataUrl": "{ {metaDataUrl}}",
"responseType": "code",
"responseMode": "query",
"claimsMapping": {
"@odata.type": "microsoft.graph.claimsMapping",
"userId": "oid",
"givenName": "given_name",
"surname": "family_name",
"email": "email",
"displayName": "name"
}
}

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.