feature/auth #2

Merged
twerner merged 9 commits from feature/auth into main 2026-03-14 16:11:14 +00:00
Owner
No description provided.
- Integrate Auth0 as identity provider with Cookie + OpenIdConnect authentication
- Add ServerAuthenticationStateProvider for Blazor authorization
- Create Login/Logout pages with minimal layout
- Add CascadingAuthenticationState to App.razor
- Configure authorization for protected routes via AuthorizeRouteView
- Add Auth0 configuration to appsettings.json (requires credentials setup)
- Remove commented out authorization UI code from MainLayout.razor
- Add OnAccessDenied event handler to redirect to /unauthorized
- Clean up unused CSS classes from tailwind.css
- Add AccountController for OIDC challenge trigger
- Add Callback page for handling auth response
- Fix Login page to use controller instead of direct Auth0 form
- Configure OIDC events for proper token validation
- Remove [Authorize] from Home page to allow public access
- Add Unauthorized page
- Add console logging for debugging auth issues
- Remove manual Auth0 form parameters from Login.razor
- Remove [Authorize] attribute from Home page
- Add OIDC event handlers and audience support to Program.cs
- Fix unauthorized route to lowercase
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
twerner/Postix!2
No description provided.