davidjrh / dnn.azureadprovider

The DNN Azure Active Directory Provider is an Authentication provider for DNN Platform (formerly DotNetNuke) that uses Azure Active Directory OAuth2 authentication to authenticate users.
MIT License
35 stars 22 forks source link

Profile Properties not syncing - DNN 9.11 #94

Open steinycode opened 1 year ago

steinycode commented 1 year ago

Are there specific permissions or settings required that aren't documented to get user profile properties to sync? Users are syncing, roles are syncing, but profile properties don't seem to beyond basic name and email.

The Graph Client has been set up with App ID and key.

steinycode commented 1 year ago

Issue persists with DNN 9.13.00 using a blank installation. Profile image syncs, but nothing else.

Additional information:

robheffo79 commented 11 months ago

When authenticated Azure returns TWO tokens. access_token, and id_token.

access_token is currently being used to populate the user profile information, but it should be using the id_token instead for that purpose.