- 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.
22 lines
514 B
JSON
22 lines
514 B
JSON
{
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "ng serve",
|
|
"type": "chrome",
|
|
"request": "launch",
|
|
"preLaunchTask": "npm: start",
|
|
"url": "http://localhost:4200/",
|
|
"webRoot": "${workspaceFolder}/Web",
|
|
},
|
|
{
|
|
"name": "ng test",
|
|
"type": "chrome",
|
|
"request": "launch",
|
|
"preLaunchTask": "npm: test",
|
|
"url": "http://localhost:9876/debug.html"
|
|
}
|
|
]
|
|
}
|