diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6245601e..eb62e346 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,20 @@
# Change Log
+## [v0.2.0](https://github.com/auth0/auth0-angular/tree/v0.2.0) (2020-08-14)
+
+[Full Changelog](https://github.com/auth0/auth0-angular/compare/v0.1.0...v0.2.0)
+
+**Added**
+
+- Improve the release pipeline [\#31](https://github.com/auth0/auth0-angular/pull/31) ([lbalmaceda](https://github.com/lbalmaceda))
+- Add task to generate docs [\#27](https://github.com/auth0/auth0-angular/pull/27) ([lbalmaceda](https://github.com/lbalmaceda))
+- Improve playground with options [\#26](https://github.com/auth0/auth0-angular/pull/26) ([lbalmaceda](https://github.com/lbalmaceda))
+- Add temporary early access installation notes [\#25](https://github.com/auth0/auth0-angular/pull/25) ([lbalmaceda](https://github.com/lbalmaceda))
+
+**Removed**
+
+- Remove Regex support from the HTTP interceptor [\#29](https://github.com/auth0/auth0-angular/pull/29) ([stevehobbsdev](https://github.com/stevehobbsdev))
+
## [v0.1.0](https://github.com/auth0/auth0-angular/tree/v0.1.0) (2020-07-31)
**Early Access Release**
diff --git a/docs/classes/abstractnavigator.html b/docs/classes/abstractnavigator.html
index b923ae4c..3f007f01 100644
--- a/docs/classes/abstractnavigator.html
+++ b/docs/classes/abstractnavigator.html
@@ -3177,7 +3177,7 @@
constructor
Defined in
projects/auth0-angular/src/lib/abstract-navigator.ts:9
@@ -3228,7 +3228,7 @@ navigate ByUrl
Defined in
projects/auth0-angular/src/lib/abstract-navigator.ts:24
diff --git a/docs/classes/auth0clientfactory.html b/docs/classes/auth0clientfactory.html
index 5c6953b0..eff21927 100644
--- a/docs/classes/auth0clientfactory.html
+++ b/docs/classes/auth0clientfactory.html
@@ -3166,7 +3166,7 @@
Defined in
projects/auth0-angular/src/lib/auth.client.ts:7
diff --git a/docs/classes/authguard.html b/docs/classes/authguard.html
index dbe7d9b5..0d55f4b7 100644
--- a/docs/classes/authguard.html
+++ b/docs/classes/authguard.html
@@ -3188,7 +3188,7 @@ constructor
Defined in
projects/auth0-angular/src/lib/auth.guard.ts:14
@@ -3244,7 +3244,7 @@ can Activate
Defined in
projects/auth0-angular/src/lib/auth.guard.ts:17
diff --git a/docs/classes/authhttpinterceptor.html b/docs/classes/authhttpinterceptor.html
index 3eed9be8..ad3bd800 100644
--- a/docs/classes/authhttpinterceptor.html
+++ b/docs/classes/authhttpinterceptor.html
@@ -3199,7 +3199,7 @@ constructor
Defined in
projects/auth0-angular/src/lib/auth.interceptor.ts:24
@@ -3271,7 +3271,7 @@ intercept
Defined in
projects/auth0-angular/src/lib/auth.interceptor.ts:30
diff --git a/docs/classes/authmodule.html b/docs/classes/authmodule.html
index c9f6859e..7f5e0e57 100644
--- a/docs/classes/authmodule.html
+++ b/docs/classes/authmodule.html
@@ -3174,7 +3174,7 @@
Defined in
projects/auth0-angular/src/lib/auth.module.ts:10
diff --git a/docs/classes/authservice.html b/docs/classes/authservice.html
index 7a90340e..9baa22da 100644
--- a/docs/classes/authservice.html
+++ b/docs/classes/authservice.html
@@ -3288,7 +3288,7 @@ constructor
Defined in
projects/auth0-angular/src/lib/auth.service.ts:59
@@ -3353,7 +3353,7 @@
Defined in
projects/auth0-angular/src/lib/auth.service.ts:49
@@ -3383,7 +3383,7 @@
Defined in
projects/auth0-angular/src/lib/auth.service.ts:47
@@ -3414,7 +3414,7 @@
Defined in
projects/auth0-angular/src/lib/auth.service.ts:55
@@ -3451,7 +3451,7 @@ get Access Token Silently
Defined in
projects/auth0-angular/src/lib/auth.service.ts:191
@@ -3542,7 +3542,7 @@ get Access Token With Popup
Defined in
projects/auth0-angular/src/lib/auth.service.ts:211
@@ -3610,7 +3610,7 @@ login With Popup
Defined in
projects/auth0-angular/src/lib/auth.service.ts:128
@@ -3693,7 +3693,7 @@ login With Redirect
Defined in
projects/auth0-angular/src/lib/auth.service.ts:107
@@ -3757,7 +3757,7 @@ logout
Defined in
projects/auth0-angular/src/lib/auth.service.ts:156
@@ -3821,7 +3821,7 @@ ng OnDestroy
Defined in
projects/auth0-angular/src/lib/auth.service.ts:90
diff --git a/docs/globals.html b/docs/globals.html
index 9237364e..d6c2c72c 100644
--- a/docs/globals.html
+++ b/docs/globals.html
@@ -3150,6 +3150,7 @@ Auth0 Angular SDK - Early Access
Table of Contents
+
+ Documentation
+
+
Table of Contents
>
Installation
- The package is still not available on the NPM public registry.
-
- In order to install it, visit the
- RELEASES
- section, download the .tgz
file, and run the following
- npm
command:
-
- npm install /path /to /auth0-auth0-angular-x.y.z.tgz
-
- Make sure the path and filename matches the file you've
- downloaded.
-
+ Using npm:
+ npm install @auth0/auth0-angular
Register the authentication module
AuthModule.forRoot({
domain : 'YOUR_AUTH0_DOMAIN' ,
clientId : 'YOUR_AUTH0_CLIENT_ID' ,
- redirectUri : window .location.origin,
}),
],
@@ -3282,6 +3287,15 @@ Add login to your application
this .auth.loginWithRedirect();
}
}
+
+ By default the application will ask Auth0 will redirect back to the
+ root URL of your application after authentication, but this can be
+ configured by setting the
+ redirectUri
option .
+
On your template, provide a button that will allow the user to log
in to the application. Use the
@@ -3448,6 +3462,9 @@
Call an API
'/api' ,
+
+ '/api/*' ,
+
/^\/api/ ,
@@ -3615,7 +3632,7 @@ Vulnerability Reporting
Please do not report security vulnerabilities on the public GitHub
issue tracker. The
- Responsible Disclosure Program
details the procedure for disclosing security issues.
@@ -3818,17 +3835,15 @@
Api Route Definition
class="tsd-signature-type"
>HttpInterceptorRouteConfig | string | RegExp
+ >string
@@ -3840,7 +3855,6 @@ Api Route Definition
an object of type HttpInterceptorConfig
a string
- a regular expression
@@ -3871,7 +3885,7 @@
Defined in
projects/auth0-angular/src/lib/auth.client.ts:23
@@ -3903,8 +3917,8 @@
Defined in
projects/auth0-angular/src/lib/auth.config.ts:165 projects/auth0-angular/src/lib/auth.config.ts:171
@@ -3946,7 +3960,7 @@
Defined in
projects/auth0-angular/src/lib/window.ts:6
@@ -3980,7 +3994,7 @@ Const context
Defined in
projects/auth0-angular/src/test.ts:24
@@ -4046,7 +4060,7 @@
Defined in
projects/auth0-angular/src/test.ts:13
@@ -4078,7 +4092,7 @@ Const require
Defined in
projects/auth0-angular/src/test.ts:11
@@ -4119,7 +4133,7 @@
Defined in
projects/auth0-angular/src/test.ts:12
@@ -4225,7 +4239,7 @@
Defined in
projects/auth0-angular/src/test.ts:13
@@ -4278,8 +4292,8 @@ is Http Interceptor Route Config
Defined in
projects/auth0-angular/src/lib/auth.config.ts:17 projects/auth0-angular/src/lib/auth.config.ts:16
@@ -4336,7 +4350,7 @@ window Provider
Defined in
projects/auth0-angular/src/lib/window.ts:11
diff --git a/docs/index.html b/docs/index.html
index 91d77b2a..fd13ce5b 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -3150,6 +3150,7 @@ Auth0 Angular SDK - Early Access
Table of Contents
+
+ Documentation
+
+
Table of Contents
>
Installation
- The package is still not available on the NPM public registry.
-
- In order to install it, visit the
- RELEASES
- section, download the .tgz
file, and run the following
- npm
command:
-
- npm install /path /to /auth0-auth0-angular-x.y.z.tgz
-
- Make sure the path and filename matches the file you've
- downloaded.
-
+ Using npm:
+ npm install @auth0/auth0-angular
Register the authentication module
AuthModule.forRoot({
domain : 'YOUR_AUTH0_DOMAIN' ,
clientId : 'YOUR_AUTH0_CLIENT_ID' ,
- redirectUri : window .location.origin,
}),
],
@@ -3282,6 +3287,15 @@ Add login to your application
this .auth.loginWithRedirect();
}
}
+
+ By default the application will ask Auth0 will redirect back to the
+ root URL of your application after authentication, but this can be
+ configured by setting the
+ redirectUri
option .
+
On your template, provide a button that will allow the user to log
in to the application. Use the
@@ -3448,6 +3462,9 @@
Call an API
'/api' ,
+
+ '/api/*' ,
+
/^\/api/ ,
@@ -3615,7 +3632,7 @@ Vulnerability Reporting
Please do not report security vulnerabilities on the public GitHub
issue tracker. The
- Responsible Disclosure Program
details the procedure for disclosing security issues.
@@ -3821,17 +3838,15 @@
Api Route Definition
class="tsd-signature-type"
>HttpInterceptorRouteConfig | string | RegExp
+ >string
@@ -3843,7 +3858,6 @@ Api Route Definition
an object of type HttpInterceptorConfig
a string
- a regular expression
@@ -3874,7 +3888,7 @@
Defined in
projects/auth0-angular/src/lib/auth.client.ts:23
@@ -3906,8 +3920,8 @@
Defined in
projects/auth0-angular/src/lib/auth.config.ts:165 projects/auth0-angular/src/lib/auth.config.ts:171
@@ -3949,7 +3963,7 @@
Defined in
projects/auth0-angular/src/lib/window.ts:6
@@ -3983,7 +3997,7 @@ Const context
Defined in
projects/auth0-angular/src/test.ts:24
@@ -4049,7 +4063,7 @@
Defined in
projects/auth0-angular/src/test.ts:13
@@ -4081,7 +4095,7 @@ Const require
Defined in
projects/auth0-angular/src/test.ts:11
@@ -4122,7 +4136,7 @@
Defined in
projects/auth0-angular/src/test.ts:12
@@ -4228,7 +4242,7 @@
Defined in
projects/auth0-angular/src/test.ts:13
@@ -4281,8 +4295,8 @@ is Http Interceptor Route Config
Defined in
projects/auth0-angular/src/lib/auth.config.ts:17 projects/auth0-angular/src/lib/auth.config.ts:16
@@ -4339,7 +4353,7 @@ window Provider
Defined in
projects/auth0-angular/src/lib/window.ts:11
diff --git a/docs/interfaces/authconfig.html b/docs/interfaces/authconfig.html
index b9f98930..904f5e2f 100644
--- a/docs/interfaces/authconfig.html
+++ b/docs/interfaces/authconfig.html
@@ -3306,8 +3306,8 @@
Defined in
projects/auth0-angular/src/lib/auth.config.ts:112 projects/auth0-angular/src/lib/auth.config.ts:118
@@ -3362,8 +3362,8 @@
Defined in
projects/auth0-angular/src/lib/auth.config.ts:139 projects/auth0-angular/src/lib/auth.config.ts:145
@@ -3396,8 +3396,8 @@
Defined in
projects/auth0-angular/src/lib/auth.config.ts:107 projects/auth0-angular/src/lib/auth.config.ts:113
@@ -3429,8 +3429,8 @@
Defined in
projects/auth0-angular/src/lib/auth.config.ts:92 projects/auth0-angular/src/lib/auth.config.ts:98
@@ -3459,8 +3459,8 @@ client Id
Defined in
projects/auth0-angular/src/lib/auth.config.ts:70 projects/auth0-angular/src/lib/auth.config.ts:76
@@ -3485,8 +3485,8 @@ domain
Defined in
projects/auth0-angular/src/lib/auth.config.ts:60 projects/auth0-angular/src/lib/auth.config.ts:66
@@ -3524,8 +3524,8 @@
Defined in
projects/auth0-angular/src/lib/auth.config.ts:145 projects/auth0-angular/src/lib/auth.config.ts:151
@@ -3555,8 +3555,8 @@
Defined in
projects/auth0-angular/src/lib/auth.config.ts:65 projects/auth0-angular/src/lib/auth.config.ts:71
@@ -3586,8 +3586,8 @@
Defined in
projects/auth0-angular/src/lib/auth.config.ts:86 projects/auth0-angular/src/lib/auth.config.ts:92
@@ -3621,8 +3621,8 @@
Defined in
projects/auth0-angular/src/lib/auth.config.ts:127 projects/auth0-angular/src/lib/auth.config.ts:133
@@ -3654,8 +3654,8 @@
Defined in
projects/auth0-angular/src/lib/auth.config.ts:79 projects/auth0-angular/src/lib/auth.config.ts:85
@@ -3664,7 +3664,7 @@
The default URL where Auth0 will redirect your browser to with
- the authentication result. It must be whitelisted in the
+ the authentication result. It must be added to the
"Allowed Callback URLs" field in your Auth0
Application's settings. If not provided here, it should be
provided in the other methods that provide authentication.
@@ -3688,8 +3688,8 @@
Defined in
projects/auth0-angular/src/lib/auth.config.ts:134 projects/auth0-angular/src/lib/auth.config.ts:140
@@ -3723,8 +3723,8 @@
Defined in
projects/auth0-angular/src/lib/auth.config.ts:101 projects/auth0-angular/src/lib/auth.config.ts:107
diff --git a/docs/interfaces/httpinterceptorconfig.html b/docs/interfaces/httpinterceptorconfig.html
index a3797761..18440b5d 100644
--- a/docs/interfaces/httpinterceptorconfig.html
+++ b/docs/interfaces/httpinterceptorconfig.html
@@ -3166,8 +3166,8 @@
allowed List
Defined in
projects/auth0-angular/src/lib/auth.config.ts:27 projects/auth0-angular/src/lib/auth.config.ts:26
diff --git a/docs/interfaces/httpinterceptorrouteconfig.html b/docs/interfaces/httpinterceptorrouteconfig.html
index 8c2fcd0f..710b87c3 100644
--- a/docs/interfaces/httpinterceptorrouteconfig.html
+++ b/docs/interfaces/httpinterceptorrouteconfig.html
@@ -3179,8 +3179,8 @@
Defined in
projects/auth0-angular/src/lib/auth.config.ts:48 projects/auth0-angular/src/lib/auth.config.ts:54
@@ -3201,17 +3201,15 @@
uri
uri:
- string | RegExp
+ string
@@ -3219,10 +3217,10 @@ uri