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
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -38,9 +38,9 @@ Successfully tested with **Angular 6** and its Router, PathLocationStrategy as w
38
38
39
39
# Features
40
40
- Logging in via OAuth2 and OpenId Connect (OIDC) Implicit Flow (where user is redirected to Identity Provider)
41
-
- "Logging in" via Password Flow (where user enters his/her password into the client)
41
+
- "Logging in" via Password Flow (where user enters their password into the client)
42
42
- Token Refresh for Password Flow by using a Refresh Token
43
-
- Automatically refreshing a token when/some time before it expires
43
+
- Automatically refreshing a token when/some time before it expires
44
44
- Querying Userinfo Endpoint
45
45
- Querying Discovery Document to ease configuration
46
46
- Validating claims of the id_token regarding the specs
@@ -49,7 +49,7 @@ Successfully tested with **Angular 6** and its Router, PathLocationStrategy as w
49
49
50
50
## Sample-Auth-Server
51
51
52
-
You can use the OIDC-Sample-Server mentioned in the samples for Testing. It assumes, that your Web-App runns on http://localhost:8080.
52
+
You can use the OIDC-Sample-Server mentioned in the samples for Testing. It assumes, that your Web-App runs on http://localhost:8080.
53
53
54
54
Username/Password: max/geheim
55
55
@@ -101,7 +101,7 @@ Single Page Application. It sends the user to the Identity Provider's login page
101
101
This also allows for single sign on as well as single sign off.
102
102
103
103
To configure the library the following sample uses the new configuration API introduced with Version 2.1.
104
-
Hence, The original API is still supported.
104
+
Hence, the original API is still supported.
105
105
106
106
```TypeScript
107
107
import { AuthConfig } from'angular-oauth2-oidc';
@@ -206,7 +206,7 @@ The following snippet contains the template for the login page:
206
206
207
207
### Skipping the Login Form
208
208
209
-
If you don't want to display a login form that tells the user that they are redirected to the identity server, you can use the convenince function ``this.oauthService.loadDiscoveryDocumentAndLogin();`` instead of ``this.oauthService.loadDiscoveryDocumentAndTryLogin();`` when setting up the library.
209
+
If you don't want to display a login form that tells the user that they are redirected to the identity server, you can use the convenience function ``this.oauthService.loadDiscoveryDocumentAndLogin();`` instead of ``this.oauthService.loadDiscoveryDocumentAndTryLogin();`` when setting up the library.
210
210
211
211
This directly redirects the user to the identity server if there are no valid tokens.
0 commit comments