Skip to content

Upgrade to angular 17 #150

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Feb 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ This repository has been scaffolded with the Angular 5 CLI, then later upgraded
To use the repository:

1. Clone this repository
1. Run `npm install` to get the dependencies
1. Run `npm ci` to get the exact locked dependencies
1. Run `npm run start` (or `start-with-ssl`) to get it running on [http://localhost:4200](http://localhost:4200) (or [https://localhost:4200](https://localhost:4200))

This connects to the [demo Duende IdentityServer instance](https://demo.duendesoftware.com/) also used in the library's examples.
Expand All @@ -59,6 +59,11 @@ The **credentials** and ways of logging in are disclosed on the login page itsel
You could also connect to your own IdentityServer by changing `auth-config.ts`.
Note that your server must whitelist both `http://localhost:4200/index.html` and `http://localhost:4200/silent-refresh.html` for this to work.

You can run the end-to-end tests using:

1. Run `npx playwright install` to grab the Playwright browsers
2. Run `npm run test` to run the specs

## Differences between Identity Server options

**This repository demonstrates features using https://demo.duendesoftware.com (Duende IdentityServer)**.
Expand Down
8 changes: 4 additions & 4 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,22 +73,22 @@
"ssl": true,
"sslKey": "ssl/localhost.key",
"sslCert": "ssl/localhost.crt",
"browserTarget": "sample-auth-guards:build"
"buildTarget": "sample-auth-guards:build"
},
"configurations": {
"development": {
"browserTarget": "sample-auth-guards:build:development"
"buildTarget": "sample-auth-guards:build:development"
},
"production": {
"browserTarget": "sample-auth-guards:build:production"
"buildTarget": "sample-auth-guards:build:production"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "sample-auth-guards:build"
"buildTarget": "sample-auth-guards:build"
}
},
"lint": {
Expand Down
Loading