Blazor Studio App wont login in on IIS

I have created a Radzen Blazor Studio App targeting .net7. When I log in with a DB user on local host I can log in OK.

When I deploy to IIS and try to login I get redirected back to login page.

I filed a bug on GitHub because the roles are not displaying when editing pages.

For comparison I created a demo project on Radzen Blazor. and it work as expected on localhost and IIS.

Is it possible this could be related to bug I filed and how the @attribute Authorize function is being called?

In studio the page calls @attribute [Authorize] could this be the problem?

This is probably not the problem. You can check this thread which sounds similar: Unable to authenticate as admin - #21 by korchev