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
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
1
# @auth0/angular-jwt
2
2
3
-
### **NOTE:** This library is now at version 1.0 and is published on npm as `@auth0/angular-jwt`. If you're looking for the pre-v1.0 version of this library, it can be found in the `pre-v1.0` branch and on npm as `angular2-jwt`.
3
+
### **NOTE:** This library is now at version 2 and is published on npm as `@auth0/angular-jwt`. If you're looking for the pre-v1.0 version of this library, it can be found in the `pre-v1.0` branch and on npm as `angular2-jwt`.
4
+
5
+
**@auth0/angular-jwt v2 is to be used with Angular v6+ and RxJS v6+. For Angular v4.3 to v5+, use @auth0/angular-jwt v1**
4
6
5
7
This library provides an `HttpInterceptor` which automatically attaches a [JSON Web Token](https://jwt.io) to `HttpClient` requests.
6
8
@@ -127,7 +129,11 @@ initial auth route(s) are on a whitelisted domain and take basic auth headers.
127
129
JwtModule.forRoot({
128
130
config: {
129
131
// ...
130
-
blacklistedRoutes: ['localhost:3001/auth/', 'foo.com/bar/',/localhost:3001\/foo\/far.*/] // strings and regular expressions
0 commit comments