- 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.
18 lines
474 B
JSON
18 lines
474 B
JSON
{
|
|
"Authentication": {
|
|
"PocketId": {
|
|
"Authority": "https://identity.lesko.me",
|
|
"ClientId": "21131567-fea1-42a2-8907-21abd874eff8",
|
|
"ClientSecret": "a633GE6G3JoY8WopnsxhSXQpmsTuXa63",
|
|
"CallbackPath": "/signin-pocketid",
|
|
"Scopes": "openid profile email"
|
|
}
|
|
},
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "http://localhost:4200"
|
|
} |