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
Successfully tested with Angular 4.3+, Angular 5 and its Router,PathLocationStrategy as well as HashLocationStrategy and CommonJS-Bundling via webpack. At server side we've used IdentityServer (.NET/ .NET Core) and Redhat's Keycloak (Java).
30
+
Successfully tested with Angular 4.3+, Angular 5 and its Router,PathLocationStrategy as well as HashLocationStrategy and CommonJS-Bundling via webpack. At server side we've used IdentityServer (.NET/ .NET Core) and Redhat's Keycloak (Java).
31
31
32
32
## New Features in Version 3.1
33
33
@@ -265,7 +265,7 @@ OAuthModule.forRoot({
265
265
266
266
## Routing
267
267
268
-
If you use the ``PathLocationStragegy`` (which is on by default) and have a general catch-all-route (``path: '**'``) you should be fine. Otherwise look up the section ``Routing with the HashStrategy`` in the [documation](https://manfredsteyer.github.io/angular-oauth2-oidc/angular-oauth2-oidc/docs/).
268
+
If you use the ``PathLocationStrategy`` (which is on by default) and have a general catch-all-route (``path: '**'``) you should be fine. Otherwise look up the section ``Routing with the HashStrategy`` in the [documation](https://manfredsteyer.github.io/angular-oauth2-oidc/angular-oauth2-oidc/docs/).
Copy file name to clipboardExpand all lines: angular-oauth2-oidc/README.MD
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ See [Release Notes](https://github.com/manfredsteyer/angular-oauth2-oidc/release
52
52
- Providing Events via the observable ``events``.
53
53
- The event ``token_expires`` can be used together with a silent refresh to automatically refresh a token when/ before it expires (see also property ``timeoutFactor``).
54
54
55
-
## Additional Features
55
+
## Additional Features
56
56
- Logging in via OAuth2 and OpenId Connect (OIDC) Implicit Flow (where user is redirected to Identity Provider)
57
57
- "Logging in" via Password Flow (where user enters his/her password into the client)
58
58
- Token Refresh for Password Flow by using a Refresh Token
@@ -76,7 +76,7 @@ You can use the OIDC-Sample-Server mentioned in the samples for Testing. It assu
@@ -98,7 +98,7 @@ import { OAuthModule } from 'angular-oauth2-oidc';
98
98
[...]
99
99
100
100
@NgModule({
101
-
imports: [
101
+
imports: [
102
102
[...]
103
103
HttpModule,
104
104
OAuthModule.forRoot()
@@ -109,13 +109,13 @@ import { OAuthModule } from 'angular-oauth2-oidc';
109
109
[...]
110
110
],
111
111
bootstrap: [
112
-
AppComponent
112
+
AppComponent
113
113
]
114
114
})
115
115
exportclassAppModule {
116
116
}
117
117
118
-
```
118
+
```
119
119
120
120
## Configuring for Implicit Flow
121
121
@@ -229,9 +229,9 @@ The following snippet contains the template for the login page:
229
229
230
230
### Skipping the Login Form
231
231
232
-
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.
232
+
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.
233
233
234
-
This directly redirects the user to the identity server if there are no valid tokens.
234
+
This directly redirects the user to the identity server if there are no valid tokens.
0 commit comments