I just came across a bug (I think) with the OpenId and OAuth provider settings. When starting UD either with OpenId or OAuth if the Client Id and/or AppSecret are left blank any authentication attempt is bypassed and you are logged into the Dashboard. Also, AdminMode is enabled (but i have AdminModeAuthorizationPolicy set)
Agreed - I didnt even notice I did this, and was trying to figure out why I kept seeing the AdminTools as I wasn’t in my “developers” group. Then I realized that I had my Dashboard running in a new Azure Web App where all my Auth Provider information (Id, Secret, Tenant) are all stored in App Settings and referenced in UD using $env:TenantId but since it was a new Web App none of the App Settings existed.
I also noticed when I’m in the Dashboard without Authenticating none of the auth policy enforcements are in effect. I have pages that have AuthorizationPolicy set but I can still see all the pages content.
When the Auth provider is configured like that starting the dashboard does throw an error but continues to load.