Disable authentication/security only for debug

I have configured Azure AD authentication for my Radzen app and it works fine so far. However, when locally developing, I would like to disable authentication and only use Azure AD authentication for the production build which is running on my server.

Is there a way to temporarily deactivate the security opitons (or maybe on disable this in Debug configuratoin but not in Release)? I already have different appsettings.json files for local development, test environment and production but in this file, only the actual settings for Azure AD are stored. So removing these will result in an error since the Balzor app is still configured for Azure AD authentication but does not have the required settings any more.

Any idea how this can be done easily?

Thanks!

Hi @JustJoe,

There is no built-in feature that would do that. I don't think there is an easy way to disable security in development.