feat: Implement OAuth2 authentication with Microsoft, Google, and PocketId
- Added JWT configuration to appsettings.json for secure token handling. - Updated config.json to include OAuth provider details for Microsoft, Google, and PocketId. - Added Microsoft icon SVG for UI representation. - Refactored app.config.ts to use a custom AuthInterceptor for managing access tokens. - Enhanced auth route guard to handle asynchronous authentication checks. - Created new auth models for structured request and response handling. - Developed a callback component to manage user login states and transitions. - Updated side-login component to support multiple OAuth providers with loading states. - Implemented authentication service methods for handling OAuth login flows and token management. - Added error handling and user feedback for authentication processes.
This commit is contained in:
6
Web/public/images/svgs/microsoft-icon.svg
Normal file
6
Web/public/images/svgs/microsoft-icon.svg
Normal file
@@ -0,0 +1,6 @@
|
||||
<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect x="2" y="2" width="11" height="11" fill="#F25022"/>
|
||||
<rect x="15" y="2" width="11" height="11" fill="#7FBA00"/>
|
||||
<rect x="2" y="15" width="11" height="11" fill="#00A4EF"/>
|
||||
<rect x="15" y="15" width="11" height="11" fill="#FFB900"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 338 B |
Reference in New Issue
Block a user