Adoxio / xRM-Portals-Community-Edition

The definitive edition of Microsoft Open Source Portals, supported by the experts in portals.
MIT License
107 stars 60 forks source link

field "adx_identityprovidername" in contact entity is missing #125

Closed hanh12345 closed 3 years ago

hanh12345 commented 3 years ago

In \xRM-Portals-Community-Edition-master\Framework\Adxstudio.Xrm\AspNet\Identity\CrmUserStore.cs line 27 public static readonly ColumnSet ExternalIdentityAttributes = new ColumnSet("adx_username", "adx_identityprovidername"); line 346 var entity = await FetchByConditionOnExternalIdentityAsync( new Condition("adx_identityprovidername", ConditionOperator.Equal, login.LoginProvider), new Condition("adx_username", ConditionOperator.Equal, login.ProviderKey)).WithCurrentCulture();

mentioned a Contact's field "adx_identityprovidername". However, there is no such field in the contact entity. This needs to be fixed in order to use external login.

hanh12345 commented 3 years ago

I found the field. It's in adx_externalidentity entity