Folder Layout Modification and Authentication Complete#2
Closed
TwistedFury wants to merge 7 commits intomasterfrom
Closed
Folder Layout Modification and Authentication Complete#2TwistedFury wants to merge 7 commits intomasterfrom
TwistedFury wants to merge 7 commits intomasterfrom
Conversation
Implement custom authentication for Blazor WASM app Replaced OIDC with a custom token-based authentication system using a new CustomAuthenticationStateProvider. Added a custom login form in Authentication.razor and updated navigation to show links only to authorized users. Removed client-side EF Core and related ApplicationDbContext. Updated Program.cs to configure HttpClient and authentication services. Added necessary package references and configuration for the new authentication flow.
- Switched to custom authentication using Blazored.LocalStorage for token management; removed Microsoft.AspNetCore.Components.WebAssembly.Authentication. - Added registration flow and validation to Authentication.razor. - Introduced RegisterDto and UserProfile models. - Added Profile page to display user info; requires authorization. - Updated login/register/profile navigation and routes. - Removed Weather page and its navigation link. - Improved UI and error handling in forms. - Updated README and cleaned up Home page.
Owner
Author
|
I will probably transition to trying to use Microsoft Azure for User Auth instead of what I'm using in this PR. I've realized that the way that this one is setup will be reliant on client-side data rather than it being hosted through the server. This gave me experience with building an API, but will probably not be what we use going forward. |
Owner
Author
|
Project has gone elsewhere. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Classification
New feature and architectural refactor: implements custom authentication and user management using ASP.NET Core Identity and JWT, replacing OIDC/Auth0.
PR Summary
This PR introduces a new ASP.NET Core Web API backend with Identity and JWT authentication, updates the Blazor WebAssembly client to use a custom authentication provider, and removes the previous OIDC/Auth0 integration.