You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-3Lines changed: 18 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,26 @@
2
2
3
3
This repository shows a basic Angular CLI application with [the `angular-oauth2-oidc` library](https://github.com/manfredsteyer/angular-oauth2-oidc) and Angular AuthGuards.
4
4
5
+
## Features
6
+
7
+
This demonstrates:
8
+
9
+
- Use of **the Implicit Flow**
10
+
- Modules (core, shared, and two feature modules)
11
+
- An auth guard that forces you to login when navigating to protected routes
12
+
- An auth guard that just prevents you from navigating to protected routes
13
+
- Asynchronous loading of login information (and thus async auth guards)
14
+
- Using `localStorage` for storing tokens (use at your own risk!)
15
+
- Loading IDS details from its discovery document
16
+
- Trying silent refresh on app startup before potientially starting a login flow
17
+
- OpenID's external logout features
18
+
19
+
Most interesting features can be found in [the core module](./src/app/core).
20
+
5
21
## Usage
6
22
7
-
This repository has been scaffolded with the Angular 5 CLI.
8
-
Make sure you have the CLI globally installed.
9
-
Then:
23
+
This repository has been scaffolded with the Angular 5 CLI, then later upgraded to newer versions of the Angular CLI.
0 commit comments