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

Automatically Authorize? #14

Closed mryckman closed 3 years ago

mryckman commented 6 years ago

From a different issue, I saw the problem with users not being authorized when they first sign in. This certainly created a confusing experience for me, and I'm sure others. Also, it adds a lot of administrative work.

Is there a way to automatically authorize new Azure users?

davidjrh commented 6 years ago

You just need to change the setting "Settings > Security > Member Accounts > Registration Settings > User Registration" from "Verified" to another one that best suits your needs.

Let me know if that solves your issue.

davidjrh commented 4 years ago

On v4.0.0 version, a new implementation now allows to automatically authorize the user without the need to set the User Registration to verified. https://github.com/davidjrh/dnn.azureadprovider/releases/tag/v4.0.0-preview

rodsmr commented 3 years ago

Hi @davidjrh , thanks for your work! Is there a way to avoid automatically authorize without change user registration? Thanks

davidjrh commented 3 years ago

Sounds like a new setting: "Automatically authorize users after login" (Yes/No), to enable/disable this behavior, right? I'm doing some new modifications on the Provider for a new release before the end of the year, and I can add this request.

rodsmr commented 3 years ago

Sounds like a new setting: "Automatically authorize users after login" (Yes/No), to enable/disable this behavior, right? I'm doing some new modifications on the Provider for a new release before the end of the year, and I can add this request.

Correct, thanks a lot!

davidjrh commented 3 years ago

Added the setting to enable/disable automatic authorization after login