feat: integrate angular-oauth2-oidc for authentication
- Added angular-oauth2-oidc package to package.json. - Configured OAuth client in app.config.ts with resource server settings. - Implemented login component with basic HTTP request to fetch products. - Set up routing for the login component. - Updated app component to initialize OAuth service and handle login. - Modified default app settings to open and collapse sidenav by default. - Removed placeholder content from app.html to streamline the initial view.
This commit is contained in:
3
Web/.vscode/launch.json
vendored
3
Web/.vscode/launch.json
vendored
@@ -7,7 +7,8 @@
|
||||
"type": "chrome",
|
||||
"request": "launch",
|
||||
"preLaunchTask": "npm: start",
|
||||
"url": "http://localhost:4200/"
|
||||
"url": "http://localhost:4200/",
|
||||
"webRoot": "${workspaceFolder}/Web",
|
||||
},
|
||||
{
|
||||
"name": "ng test",
|
||||
|
||||
Reference in New Issue
Block a user