Skip to content

Commit 9ca2284

Browse files
Update readme
1 parent b637c1c commit 9ca2284

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

README.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,26 @@
22

33
This repository shows a basic Angular CLI application with [the `angular-oauth2-oidc` library](https://github.com/manfredsteyer/angular-oauth2-oidc) and Angular AuthGuards.
44

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+
521
## Usage
622

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.
24+
To use the repository:
1025

1126
1. Clone this repository
1227
1. Run `npm install` to get the dependencies

0 commit comments

Comments
 (0)