GetAuthenticationStateAsync() is not hitting with Authorize attribute
I have created Dotnet aspire project and implemented JWT Authentication. In Dotnet aspire it creates 4 projects Api, Apphost, Service defaults, Blazor Server App.
When I am refreshing page in my Blazor server App without Authorize attribute GetAuthenticationStateAsync() is hitting and it is working fine. When I am refreshing the page with Authorize attribute GetAuthenticationStateAsync() method not hitting. I am not getting any errors also. I am getting the blank screen.