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 21 forks source link

Private registration doesn't work on DNN 9.13 #106

Open stetard opened 7 months ago

stetard commented 7 months ago

Hi

I just installed the 4.4.5 version on a fresh DNN 9.13.2 and it seems that it doesn't take into account that the registration is set to private mode. In the settings, I enabled the following parameters: Enabled and Auto-match Existing Users. Auto-redirect, Auto-authorize users after login and Use Global settings are disabled. If I try the DNN classic registration, the user needs to be validated by an admin. But with a MS Entra ID, the users is automaticaly approved. In addition, please note that I set the Tenant ID to common to allow multiples domains. Regarding the portal settings, I enabled Valid profile is required for the registration and the custom field Company is mandatory. I also enabled the data consent in the privacy portal section.