-
-
Notifications
You must be signed in to change notification settings - Fork 100
Description
NOTE: We do not look at .zip attachments for issue investigation.
Describe the bug
Before scaffolding Blazor Identity, my Blazor Server App with Blazor.Bootstrap components works fine. After scaffolding Blazor Identity, authorization function totally doesn't work although @Attribute [Authorize] was added.
It took a while to figure out the root cause is <Routes @rendermode="@InteractiveServer" /> in App.razor file. After changed <Routes @rendermode="@InteractiveServer" /> to , authorization function starts working.
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Versions (please complete the following information):
- .NET Version: [.NET 9]
- BlazorBootstrap: [3.5.0]
- Blazor Server: [e.g. WebAssembly, Server]
- Blazor Interactive Render Mode: [Auto]
- Blazor Interactivity Location: [Per page/component]
Sample code
<ImportMap />
<HeadOutlet @rendermode="@InteractiveServer" />
GitHub repo
GitHub repo with minimal code to reproduce the issue.
Desktop (please complete the following information):
- OS: [Windows]
- Browser [chrome]
- Version [11]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.