diff --git a/CHANGELOG.md b/CHANGELOG.md index 0915481d..8e2666e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Change Log +## [v1.10.0](https://github.com/auth0/auth0-angular/tree/v1.10.0) (2022-06-08) + +[Full Changelog](https://github.com/auth0/auth0-angular/compare/v1.9.0...v1.10.0) + +**Added** + +- [SDK-3415] Allow to disable the use of silent auth when using Refresh Tokens [\#308](https://github.com/auth0/auth0-angular/pull/308) ([frederikprijck](https://github.com/frederikprijck)) +- Add support for Angular 14 [\#315](https://github.com/auth0/auth0-angular/pull/315) ([frederikprijck](https://github.com/frederikprijck)) + +**Changed** + +- Send Angular Version as part of auth0Client header [\#309](https://github.com/auth0/auth0-angular/pull/309) ([frederikprijck](https://github.com/frederikprijck)) + ## [v1.9.0](https://github.com/auth0/auth0-angular/tree/v1.9.0) (2022-02-14) [Full Changelog](https://github.com/auth0/auth0-angular/compare/v1.8.2...v1.9.0) diff --git a/docs/assets/js/search.js b/docs/assets/js/search.js index 6f659a5d..ab7099f0 100644 --- a/docs/assets/js/search.js +++ b/docs/assets/js/search.js @@ -320,13 +320,21 @@ window.searchData = { { id: 38, kind: 1024, + name: 'useRefreshTokensFallback', + url: 'interfaces/auth_config.authconfig.html#userefreshtokensfallback', + classes: 'tsd-kind-property tsd-parent-kind-interface', + parent: 'auth.config.AuthConfig', + }, + { + id: 39, + kind: 1024, name: 'authorizeTimeoutInSeconds', url: 'interfaces/auth_config.authconfig.html#authorizetimeoutinseconds', classes: 'tsd-kind-property tsd-parent-kind-interface', parent: 'auth.config.AuthConfig', }, { - id: 39, + id: 40, kind: 1024, name: 'advancedOptions', url: 'interfaces/auth_config.authconfig.html#advancedoptions', @@ -334,7 +342,7 @@ window.searchData = { parent: 'auth.config.AuthConfig', }, { - id: 40, + id: 41, kind: 65536, name: '__type', url: 'interfaces/auth_config.authconfig.html#__type', @@ -342,7 +350,7 @@ window.searchData = { parent: 'auth.config.AuthConfig', }, { - id: 41, + id: 42, kind: 1024, name: 'defaultScope', url: 'interfaces/auth_config.authconfig.html#__type.defaultscope', @@ -350,7 +358,7 @@ window.searchData = { parent: 'auth.config.AuthConfig.__type', }, { - id: 42, + id: 43, kind: 1024, name: 'maxAge', url: 'interfaces/auth_config.authconfig.html#maxage', @@ -358,7 +366,7 @@ window.searchData = { parent: 'auth.config.AuthConfig', }, { - id: 43, + id: 44, kind: 1024, name: 'scope', url: 'interfaces/auth_config.authconfig.html#scope', @@ -366,7 +374,7 @@ window.searchData = { parent: 'auth.config.AuthConfig', }, { - id: 44, + id: 45, kind: 1024, name: 'audience', url: 'interfaces/auth_config.authconfig.html#audience', @@ -374,7 +382,7 @@ window.searchData = { parent: 'auth.config.AuthConfig', }, { - id: 45, + id: 46, kind: 1024, name: 'httpInterceptor', url: 'interfaces/auth_config.authconfig.html#httpinterceptor', @@ -382,7 +390,7 @@ window.searchData = { parent: 'auth.config.AuthConfig', }, { - id: 46, + id: 47, kind: 1024, name: 'errorPath', url: 'interfaces/auth_config.authconfig.html#errorpath', @@ -390,7 +398,7 @@ window.searchData = { parent: 'auth.config.AuthConfig', }, { - id: 47, + id: 48, kind: 1024, name: 'organization', url: 'interfaces/auth_config.authconfig.html#organization', @@ -398,7 +406,7 @@ window.searchData = { parent: 'auth.config.AuthConfig', }, { - id: 48, + id: 49, kind: 1024, name: 'invitation', url: 'interfaces/auth_config.authconfig.html#invitation', @@ -406,7 +414,7 @@ window.searchData = { parent: 'auth.config.AuthConfig', }, { - id: 49, + id: 50, kind: 1024, name: 'connection', url: 'interfaces/auth_config.authconfig.html#connection', @@ -414,7 +422,7 @@ window.searchData = { parent: 'auth.config.AuthConfig', }, { - id: 50, + id: 51, kind: 1024, name: 'nowProvider', url: 'interfaces/auth_config.authconfig.html#nowprovider', @@ -422,7 +430,7 @@ window.searchData = { parent: 'auth.config.AuthConfig', }, { - id: 51, + id: 52, kind: 65536, name: '__type', url: 'interfaces/auth_config.authconfig.html#__type-1', @@ -430,7 +438,7 @@ window.searchData = { parent: 'auth.config.AuthConfig', }, { - id: 52, + id: 53, kind: 256, name: 'AppState', url: 'interfaces/auth_config.appstate.html', @@ -438,7 +446,7 @@ window.searchData = { parent: 'auth.config', }, { - id: 53, + id: 54, kind: 1024, name: 'target', url: 'interfaces/auth_config.appstate.html#target', @@ -446,7 +454,7 @@ window.searchData = { parent: 'auth.config.AppState', }, { - id: 54, + id: 55, kind: 128, name: 'AuthClientConfig', url: 'classes/auth_config.authclientconfig.html', @@ -454,7 +462,7 @@ window.searchData = { parent: 'auth.config', }, { - id: 55, + id: 56, kind: 512, name: 'constructor', url: 'classes/auth_config.authclientconfig.html#constructor', @@ -462,7 +470,7 @@ window.searchData = { parent: 'auth.config.AuthClientConfig', }, { - id: 56, + id: 57, kind: 2048, name: 'set', url: 'classes/auth_config.authclientconfig.html#set', @@ -470,7 +478,7 @@ window.searchData = { parent: 'auth.config.AuthClientConfig', }, { - id: 57, + id: 58, kind: 2048, name: 'get', url: 'classes/auth_config.authclientconfig.html#get', @@ -478,7 +486,7 @@ window.searchData = { parent: 'auth.config.AuthClientConfig', }, { - id: 58, + id: 59, kind: 32, name: 'AuthConfigService', url: 'modules/auth_config.html#authconfigservice', @@ -486,14 +494,14 @@ window.searchData = { parent: 'auth.config', }, { - id: 59, + id: 60, kind: 1, name: 'auth.guard', url: 'modules/auth_guard.html', classes: 'tsd-kind-module', }, { - id: 60, + id: 61, kind: 128, name: 'AuthGuard', url: 'classes/auth_guard.authguard.html', @@ -501,7 +509,7 @@ window.searchData = { parent: 'auth.guard', }, { - id: 61, + id: 62, kind: 512, name: 'constructor', url: 'classes/auth_guard.authguard.html#constructor', @@ -509,7 +517,7 @@ window.searchData = { parent: 'auth.guard.AuthGuard', }, { - id: 62, + id: 63, kind: 2048, name: 'canLoad', url: 'classes/auth_guard.authguard.html#canload', @@ -517,7 +525,7 @@ window.searchData = { parent: 'auth.guard.AuthGuard', }, { - id: 63, + id: 64, kind: 2048, name: 'canActivate', url: 'classes/auth_guard.authguard.html#canactivate', @@ -525,7 +533,7 @@ window.searchData = { parent: 'auth.guard.AuthGuard', }, { - id: 64, + id: 65, kind: 2048, name: 'canActivateChild', url: 'classes/auth_guard.authguard.html#canactivatechild', @@ -533,14 +541,14 @@ window.searchData = { parent: 'auth.guard.AuthGuard', }, { - id: 65, + id: 66, kind: 1, name: 'auth.interceptor', url: 'modules/auth_interceptor.html', classes: 'tsd-kind-module', }, { - id: 66, + id: 67, kind: 128, name: 'AuthHttpInterceptor', url: 'classes/auth_interceptor.authhttpinterceptor.html', @@ -548,7 +556,7 @@ window.searchData = { parent: 'auth.interceptor', }, { - id: 67, + id: 68, kind: 512, name: 'constructor', url: 'classes/auth_interceptor.authhttpinterceptor.html#constructor', @@ -556,7 +564,7 @@ window.searchData = { parent: 'auth.interceptor.AuthHttpInterceptor', }, { - id: 68, + id: 69, kind: 2048, name: 'intercept', url: 'classes/auth_interceptor.authhttpinterceptor.html#intercept', @@ -564,14 +572,14 @@ window.searchData = { parent: 'auth.interceptor.AuthHttpInterceptor', }, { - id: 69, + id: 70, kind: 1, name: 'auth.module', url: 'modules/auth_module.html', classes: 'tsd-kind-module', }, { - id: 70, + id: 71, kind: 128, name: 'AuthModule', url: 'classes/auth_module.authmodule.html', @@ -579,7 +587,7 @@ window.searchData = { parent: 'auth.module', }, { - id: 71, + id: 72, kind: 2048, name: 'forRoot', url: 'classes/auth_module.authmodule.html#forroot', @@ -587,7 +595,7 @@ window.searchData = { parent: 'auth.module.AuthModule', }, { - id: 72, + id: 73, kind: 512, name: 'constructor', url: 'classes/auth_module.authmodule.html#constructor', @@ -595,14 +603,14 @@ window.searchData = { parent: 'auth.module.AuthModule', }, { - id: 73, + id: 74, kind: 1, name: 'auth.service', url: 'modules/auth_service.html', classes: 'tsd-kind-module', }, { - id: 74, + id: 75, kind: 128, name: 'AuthService', url: 'classes/auth_service.authservice.html', @@ -610,7 +618,7 @@ window.searchData = { parent: 'auth.service', }, { - id: 75, + id: 76, kind: 512, name: 'constructor', url: 'classes/auth_service.authservice.html#constructor', @@ -619,7 +627,7 @@ window.searchData = { parent: 'auth.service.AuthService', }, { - id: 76, + id: 77, kind: 1024, name: 'isLoading$', url: 'classes/auth_service.authservice.html#isloading_', @@ -627,7 +635,7 @@ window.searchData = { parent: 'auth.service.AuthService', }, { - id: 77, + id: 78, kind: 1024, name: 'isAuthenticated$', url: 'classes/auth_service.authservice.html#isauthenticated_', @@ -635,7 +643,7 @@ window.searchData = { parent: 'auth.service.AuthService', }, { - id: 78, + id: 79, kind: 1024, name: 'user$', url: 'classes/auth_service.authservice.html#user_', @@ -643,7 +651,7 @@ window.searchData = { parent: 'auth.service.AuthService', }, { - id: 79, + id: 80, kind: 1024, name: 'idTokenClaims$', url: 'classes/auth_service.authservice.html#idtokenclaims_', @@ -651,7 +659,7 @@ window.searchData = { parent: 'auth.service.AuthService', }, { - id: 80, + id: 81, kind: 1024, name: 'error$', url: 'classes/auth_service.authservice.html#error_', @@ -659,7 +667,7 @@ window.searchData = { parent: 'auth.service.AuthService', }, { - id: 81, + id: 82, kind: 1024, name: 'appState$', url: 'classes/auth_service.authservice.html#appstate_', @@ -667,7 +675,7 @@ window.searchData = { parent: 'auth.service.AuthService', }, { - id: 82, + id: 83, kind: 2048, name: 'ngOnDestroy', url: 'classes/auth_service.authservice.html#ngondestroy', @@ -675,7 +683,7 @@ window.searchData = { parent: 'auth.service.AuthService', }, { - id: 83, + id: 84, kind: 2048, name: 'loginWithRedirect', url: 'classes/auth_service.authservice.html#loginwithredirect', @@ -683,7 +691,7 @@ window.searchData = { parent: 'auth.service.AuthService', }, { - id: 84, + id: 85, kind: 2048, name: 'loginWithPopup', url: 'classes/auth_service.authservice.html#loginwithpopup', @@ -691,7 +699,7 @@ window.searchData = { parent: 'auth.service.AuthService', }, { - id: 85, + id: 86, kind: 2048, name: 'logout', url: 'classes/auth_service.authservice.html#logout', @@ -699,7 +707,7 @@ window.searchData = { parent: 'auth.service.AuthService', }, { - id: 86, + id: 87, kind: 2048, name: 'getAccessTokenSilently', url: 'classes/auth_service.authservice.html#getaccesstokensilently', @@ -707,7 +715,7 @@ window.searchData = { parent: 'auth.service.AuthService', }, { - id: 87, + id: 88, kind: 2048, name: 'getAccessTokenWithPopup', url: 'classes/auth_service.authservice.html#getaccesstokenwithpopup', @@ -715,7 +723,7 @@ window.searchData = { parent: 'auth.service.AuthService', }, { - id: 88, + id: 89, kind: 2048, name: 'getUser', url: 'classes/auth_service.authservice.html#getuser', @@ -723,7 +731,7 @@ window.searchData = { parent: 'auth.service.AuthService', }, { - id: 89, + id: 90, kind: 2048, name: 'getIdTokenClaims', url: 'classes/auth_service.authservice.html#getidtokenclaims', @@ -731,7 +739,7 @@ window.searchData = { parent: 'auth.service.AuthService', }, { - id: 90, + id: 91, kind: 2048, name: 'handleRedirectCallback', url: 'classes/auth_service.authservice.html#handleredirectcallback', @@ -739,7 +747,7 @@ window.searchData = { parent: 'auth.service.AuthService', }, { - id: 91, + id: 92, kind: 2048, name: 'buildAuthorizeUrl', url: 'classes/auth_service.authservice.html#buildauthorizeurl', @@ -747,7 +755,7 @@ window.searchData = { parent: 'auth.service.AuthService', }, { - id: 92, + id: 93, kind: 2048, name: 'buildLogoutUrl', url: 'classes/auth_service.authservice.html#buildlogouturl', @@ -755,14 +763,14 @@ window.searchData = { parent: 'auth.service.AuthService', }, { - id: 93, + id: 94, kind: 1, name: 'auth.state', url: 'modules/auth_state.html', classes: 'tsd-kind-module', }, { - id: 94, + id: 95, kind: 128, name: 'AuthState', url: 'classes/auth_state.authstate.html', @@ -770,7 +778,7 @@ window.searchData = { parent: 'auth.state', }, { - id: 95, + id: 96, kind: 512, name: 'constructor', url: 'classes/auth_state.authstate.html#constructor', @@ -778,7 +786,7 @@ window.searchData = { parent: 'auth.state.AuthState', }, { - id: 96, + id: 97, kind: 1024, name: 'isLoading$', url: 'classes/auth_state.authstate.html#isloading_', @@ -786,7 +794,7 @@ window.searchData = { parent: 'auth.state.AuthState', }, { - id: 97, + id: 98, kind: 1024, name: 'isAuthenticated$', url: 'classes/auth_state.authstate.html#isauthenticated_', @@ -794,7 +802,7 @@ window.searchData = { parent: 'auth.state.AuthState', }, { - id: 98, + id: 99, kind: 1024, name: 'user$', url: 'classes/auth_state.authstate.html#user_', @@ -802,7 +810,7 @@ window.searchData = { parent: 'auth.state.AuthState', }, { - id: 99, + id: 100, kind: 1024, name: 'idTokenClaims$', url: 'classes/auth_state.authstate.html#idtokenclaims_', @@ -810,7 +818,7 @@ window.searchData = { parent: 'auth.state.AuthState', }, { - id: 100, + id: 101, kind: 1024, name: 'error$', url: 'classes/auth_state.authstate.html#error_', @@ -818,7 +826,7 @@ window.searchData = { parent: 'auth.state.AuthState', }, { - id: 101, + id: 102, kind: 2048, name: 'setIsLoading', url: 'classes/auth_state.authstate.html#setisloading', @@ -826,7 +834,7 @@ window.searchData = { parent: 'auth.state.AuthState', }, { - id: 102, + id: 103, kind: 2048, name: 'refresh', url: 'classes/auth_state.authstate.html#refresh', @@ -834,7 +842,7 @@ window.searchData = { parent: 'auth.state.AuthState', }, { - id: 103, + id: 104, kind: 2048, name: 'setAccessToken', url: 'classes/auth_state.authstate.html#setaccesstoken', @@ -842,7 +850,7 @@ window.searchData = { parent: 'auth.state.AuthState', }, { - id: 104, + id: 105, kind: 2048, name: 'setError', url: 'classes/auth_state.authstate.html#seterror', @@ -854,230 +862,232 @@ window.searchData = { version: '2.3.9', fields: ['name', 'parent'], fieldVectors: [ - ['name/0', [0, 22.545, 1, 26.739]], + ['name/0', [0, 22.611, 1, 26.805]], ['parent/0', []], - ['name/1', [2, 42.745]], - ['parent/1', [0, 2.179, 1, 2.584]], - ['name/2', [3, 25.331]], - ['parent/2', [0, 2.179, 4, 2.584]], - ['name/3', [5, 42.745]], - ['parent/3', [0, 2.179, 4, 2.584]], - ['name/4', [6, 34.239]], + ['name/1', [2, 42.837]], + ['parent/1', [0, 2.186, 1, 2.591]], + ['name/2', [3, 25.425]], + ['parent/2', [0, 2.186, 4, 2.591]], + ['name/3', [5, 42.837]], + ['parent/3', [0, 2.186, 4, 2.591]], + ['name/4', [6, 34.332]], ['parent/4', []], - ['name/5', [7, 42.745]], - ['parent/5', [6, 3.342]], - ['name/6', [8, 42.745]], - ['parent/6', [9, 3.672]], - ['name/7', [3, 25.331]], - ['parent/7', [9, 3.672]], - ['name/8', [10, 42.745]], - ['parent/8', [6, 3.342]], - ['name/9', [11, 23.21]], + ['name/5', [7, 42.837]], + ['parent/5', [6, 3.352]], + ['name/6', [8, 42.837]], + ['parent/6', [9, 3.682]], + ['name/7', [3, 25.425]], + ['parent/7', [9, 3.682]], + ['name/8', [10, 42.837]], + ['parent/8', [6, 3.352]], + ['name/9', [11, 23.304]], ['parent/9', []], - ['name/10', [12, 42.745]], - ['parent/10', [11, 2.266]], - ['name/11', [13, 37.617]], - ['parent/11', [11, 2.266]], - ['name/12', [14, 37.617]], - ['parent/12', [15, 2.736]], - ['name/13', [16, 42.745]], - ['parent/13', [15, 2.736]], - ['name/14', [17, 42.745]], - ['parent/14', [15, 2.736]], - ['name/15', [18, 42.745]], - ['parent/15', [15, 2.736]], - ['name/16', [19, 42.745]], - ['parent/16', [15, 2.736]], - ['name/17', [20, 42.745]], - ['parent/17', [15, 2.736]], - ['name/18', [21, 42.745]], - ['parent/18', [11, 2.266]], - ['name/19', [22, 42.745]], - ['parent/19', [11, 2.266]], - ['name/20', [23, 42.745]], - ['parent/20', [24, 4.173]], - ['name/21', [25, 42.745]], - ['parent/21', [11, 2.266]], - ['name/22', [26, 42.745]], - ['parent/22', [27, 2.736]], - ['name/23', [28, 42.745]], - ['parent/23', [27, 2.736]], - ['name/24', [29, 34.239]], - ['parent/24', [27, 2.736]], - ['name/25', [30, 42.745]], - ['parent/25', [27, 2.736]], - ['name/26', [13, 37.617]], - ['parent/26', [27, 2.736]], - ['name/27', [31, 42.745]], - ['parent/27', [27, 2.736]], - ['name/28', [32, 42.745]], - ['parent/28', [11, 2.266]], - ['name/29', [33, 42.745]], - ['parent/29', [34, 1.519]], - ['name/30', [35, 42.745]], - ['parent/30', [34, 1.519]], - ['name/31', [36, 42.745]], - ['parent/31', [34, 1.519]], - ['name/32', [37, 42.745]], - ['parent/32', [34, 1.519]], - ['name/33', [38, 42.745]], - ['parent/33', [34, 1.519]], - ['name/34', [39, 42.745]], - ['parent/34', [34, 1.519]], - ['name/35', [40, 42.745]], - ['parent/35', [34, 1.519]], - ['name/36', [41, 42.745]], - ['parent/36', [34, 1.519]], - ['name/37', [42, 42.745]], - ['parent/37', [34, 1.519]], - ['name/38', [43, 42.745]], - ['parent/38', [34, 1.519]], - ['name/39', [44, 42.745]], - ['parent/39', [34, 1.519]], - ['name/40', [29, 34.239]], - ['parent/40', [34, 1.519]], - ['name/41', [45, 42.745]], - ['parent/41', [46, 4.173]], - ['name/42', [47, 42.745]], - ['parent/42', [34, 1.519]], - ['name/43', [48, 42.745]], - ['parent/43', [34, 1.519]], - ['name/44', [49, 42.745]], - ['parent/44', [34, 1.519]], - ['name/45', [50, 42.745]], - ['parent/45', [34, 1.519]], - ['name/46', [51, 42.745]], - ['parent/46', [34, 1.519]], - ['name/47', [52, 42.745]], - ['parent/47', [34, 1.519]], - ['name/48', [53, 42.745]], - ['parent/48', [34, 1.519]], - ['name/49', [54, 42.745]], - ['parent/49', [34, 1.519]], - ['name/50', [55, 42.745]], - ['parent/50', [34, 1.519]], - ['name/51', [29, 34.239]], - ['parent/51', [34, 1.519]], - ['name/52', [56, 37.617]], - ['parent/52', [11, 2.266]], - ['name/53', [57, 42.745]], - ['parent/53', [58, 4.173]], - ['name/54', [59, 42.745]], - ['parent/54', [11, 2.266]], - ['name/55', [3, 25.331]], - ['parent/55', [60, 3.342]], - ['name/56', [61, 42.745]], - ['parent/56', [60, 3.342]], - ['name/57', [14, 37.617]], - ['parent/57', [60, 3.342]], - ['name/58', [62, 42.745]], - ['parent/58', [11, 2.266]], - ['name/59', [63, 37.617]], - ['parent/59', []], - ['name/60', [64, 42.745]], - ['parent/60', [63, 3.672]], - ['name/61', [3, 25.331]], - ['parent/61', [65, 3.096]], - ['name/62', [66, 42.745]], - ['parent/62', [65, 3.096]], - ['name/63', [67, 42.745]], - ['parent/63', [65, 3.096]], - ['name/64', [68, 42.745]], - ['parent/64', [65, 3.096]], - ['name/65', [69, 37.617]], - ['parent/65', []], - ['name/66', [70, 42.745]], - ['parent/66', [69, 3.672]], - ['name/67', [3, 25.331]], - ['parent/67', [71, 3.672]], - ['name/68', [72, 42.745]], - ['parent/68', [71, 3.672]], - ['name/69', [73, 37.617]], - ['parent/69', []], - ['name/70', [74, 42.745]], - ['parent/70', [73, 3.672]], - ['name/71', [75, 42.745]], - ['parent/71', [76, 3.672]], - ['name/72', [3, 25.331]], - ['parent/72', [76, 3.672]], - ['name/73', [77, 37.617]], - ['parent/73', []], - ['name/74', [78, 42.745]], - ['parent/74', [77, 3.672]], - ['name/75', [3, 25.331]], - ['parent/75', [79, 1.711]], - ['name/76', [80, 37.617]], - ['parent/76', [79, 1.711]], - ['name/77', [81, 37.617]], - ['parent/77', [79, 1.711]], - ['name/78', [82, 37.617]], - ['parent/78', [79, 1.711]], - ['name/79', [83, 37.617]], - ['parent/79', [79, 1.711]], - ['name/80', [84, 37.617]], - ['parent/80', [79, 1.711]], - ['name/81', [56, 37.617]], - ['parent/81', [79, 1.711]], - ['name/82', [85, 42.745]], - ['parent/82', [79, 1.711]], - ['name/83', [86, 42.745]], - ['parent/83', [79, 1.711]], - ['name/84', [87, 42.745]], - ['parent/84', [79, 1.711]], - ['name/85', [88, 42.745]], - ['parent/85', [79, 1.711]], - ['name/86', [89, 42.745]], - ['parent/86', [79, 1.711]], - ['name/87', [90, 42.745]], - ['parent/87', [79, 1.711]], - ['name/88', [91, 42.745]], - ['parent/88', [79, 1.711]], - ['name/89', [92, 42.745]], - ['parent/89', [79, 1.711]], - ['name/90', [93, 42.745]], - ['parent/90', [79, 1.711]], - ['name/91', [94, 42.745]], - ['parent/91', [79, 1.711]], - ['name/92', [95, 42.745]], - ['parent/92', [79, 1.711]], - ['name/93', [96, 37.617]], - ['parent/93', []], - ['name/94', [97, 42.745]], - ['parent/94', [96, 3.672]], - ['name/95', [3, 25.331]], - ['parent/95', [98, 2.266]], - ['name/96', [80, 37.617]], - ['parent/96', [98, 2.266]], - ['name/97', [81, 37.617]], - ['parent/97', [98, 2.266]], - ['name/98', [82, 37.617]], - ['parent/98', [98, 2.266]], - ['name/99', [83, 37.617]], - ['parent/99', [98, 2.266]], - ['name/100', [84, 37.617]], - ['parent/100', [98, 2.266]], - ['name/101', [99, 42.745]], - ['parent/101', [98, 2.266]], - ['name/102', [100, 42.745]], - ['parent/102', [98, 2.266]], - ['name/103', [101, 42.745]], - ['parent/103', [98, 2.266]], - ['name/104', [102, 42.745]], - ['parent/104', [98, 2.266]], + ['name/10', [12, 42.837]], + ['parent/10', [11, 2.275]], + ['name/11', [13, 37.71]], + ['parent/11', [11, 2.275]], + ['name/12', [14, 37.71]], + ['parent/12', [15, 2.745]], + ['name/13', [16, 42.837]], + ['parent/13', [15, 2.745]], + ['name/14', [17, 42.837]], + ['parent/14', [15, 2.745]], + ['name/15', [18, 42.837]], + ['parent/15', [15, 2.745]], + ['name/16', [19, 42.837]], + ['parent/16', [15, 2.745]], + ['name/17', [20, 42.837]], + ['parent/17', [15, 2.745]], + ['name/18', [21, 42.837]], + ['parent/18', [11, 2.275]], + ['name/19', [22, 42.837]], + ['parent/19', [11, 2.275]], + ['name/20', [23, 42.837]], + ['parent/20', [24, 4.183]], + ['name/21', [25, 42.837]], + ['parent/21', [11, 2.275]], + ['name/22', [26, 42.837]], + ['parent/22', [27, 2.745]], + ['name/23', [28, 42.837]], + ['parent/23', [27, 2.745]], + ['name/24', [29, 34.332]], + ['parent/24', [27, 2.745]], + ['name/25', [30, 42.837]], + ['parent/25', [27, 2.745]], + ['name/26', [13, 37.71]], + ['parent/26', [27, 2.745]], + ['name/27', [31, 42.837]], + ['parent/27', [27, 2.745]], + ['name/28', [32, 42.837]], + ['parent/28', [11, 2.275]], + ['name/29', [33, 42.837]], + ['parent/29', [34, 1.486]], + ['name/30', [35, 42.837]], + ['parent/30', [34, 1.486]], + ['name/31', [36, 42.837]], + ['parent/31', [34, 1.486]], + ['name/32', [37, 42.837]], + ['parent/32', [34, 1.486]], + ['name/33', [38, 42.837]], + ['parent/33', [34, 1.486]], + ['name/34', [39, 42.837]], + ['parent/34', [34, 1.486]], + ['name/35', [40, 42.837]], + ['parent/35', [34, 1.486]], + ['name/36', [41, 42.837]], + ['parent/36', [34, 1.486]], + ['name/37', [42, 42.837]], + ['parent/37', [34, 1.486]], + ['name/38', [43, 42.837]], + ['parent/38', [34, 1.486]], + ['name/39', [44, 42.837]], + ['parent/39', [34, 1.486]], + ['name/40', [45, 42.837]], + ['parent/40', [34, 1.486]], + ['name/41', [29, 34.332]], + ['parent/41', [34, 1.486]], + ['name/42', [46, 42.837]], + ['parent/42', [47, 4.183]], + ['name/43', [48, 42.837]], + ['parent/43', [34, 1.486]], + ['name/44', [49, 42.837]], + ['parent/44', [34, 1.486]], + ['name/45', [50, 42.837]], + ['parent/45', [34, 1.486]], + ['name/46', [51, 42.837]], + ['parent/46', [34, 1.486]], + ['name/47', [52, 42.837]], + ['parent/47', [34, 1.486]], + ['name/48', [53, 42.837]], + ['parent/48', [34, 1.486]], + ['name/49', [54, 42.837]], + ['parent/49', [34, 1.486]], + ['name/50', [55, 42.837]], + ['parent/50', [34, 1.486]], + ['name/51', [56, 42.837]], + ['parent/51', [34, 1.486]], + ['name/52', [29, 34.332]], + ['parent/52', [34, 1.486]], + ['name/53', [57, 37.71]], + ['parent/53', [11, 2.275]], + ['name/54', [58, 42.837]], + ['parent/54', [59, 4.183]], + ['name/55', [60, 42.837]], + ['parent/55', [11, 2.275]], + ['name/56', [3, 25.425]], + ['parent/56', [61, 3.352]], + ['name/57', [62, 42.837]], + ['parent/57', [61, 3.352]], + ['name/58', [14, 37.71]], + ['parent/58', [61, 3.352]], + ['name/59', [63, 42.837]], + ['parent/59', [11, 2.275]], + ['name/60', [64, 37.71]], + ['parent/60', []], + ['name/61', [65, 42.837]], + ['parent/61', [64, 3.682]], + ['name/62', [3, 25.425]], + ['parent/62', [66, 3.106]], + ['name/63', [67, 42.837]], + ['parent/63', [66, 3.106]], + ['name/64', [68, 42.837]], + ['parent/64', [66, 3.106]], + ['name/65', [69, 42.837]], + ['parent/65', [66, 3.106]], + ['name/66', [70, 37.71]], + ['parent/66', []], + ['name/67', [71, 42.837]], + ['parent/67', [70, 3.682]], + ['name/68', [3, 25.425]], + ['parent/68', [72, 3.682]], + ['name/69', [73, 42.837]], + ['parent/69', [72, 3.682]], + ['name/70', [74, 37.71]], + ['parent/70', []], + ['name/71', [75, 42.837]], + ['parent/71', [74, 3.682]], + ['name/72', [76, 42.837]], + ['parent/72', [77, 3.682]], + ['name/73', [3, 25.425]], + ['parent/73', [77, 3.682]], + ['name/74', [78, 37.71]], + ['parent/74', []], + ['name/75', [79, 42.837]], + ['parent/75', [78, 3.682]], + ['name/76', [3, 25.425]], + ['parent/76', [80, 1.72]], + ['name/77', [81, 37.71]], + ['parent/77', [80, 1.72]], + ['name/78', [82, 37.71]], + ['parent/78', [80, 1.72]], + ['name/79', [83, 37.71]], + ['parent/79', [80, 1.72]], + ['name/80', [84, 37.71]], + ['parent/80', [80, 1.72]], + ['name/81', [85, 37.71]], + ['parent/81', [80, 1.72]], + ['name/82', [57, 37.71]], + ['parent/82', [80, 1.72]], + ['name/83', [86, 42.837]], + ['parent/83', [80, 1.72]], + ['name/84', [87, 42.837]], + ['parent/84', [80, 1.72]], + ['name/85', [88, 42.837]], + ['parent/85', [80, 1.72]], + ['name/86', [89, 42.837]], + ['parent/86', [80, 1.72]], + ['name/87', [90, 42.837]], + ['parent/87', [80, 1.72]], + ['name/88', [91, 42.837]], + ['parent/88', [80, 1.72]], + ['name/89', [92, 42.837]], + ['parent/89', [80, 1.72]], + ['name/90', [93, 42.837]], + ['parent/90', [80, 1.72]], + ['name/91', [94, 42.837]], + ['parent/91', [80, 1.72]], + ['name/92', [95, 42.837]], + ['parent/92', [80, 1.72]], + ['name/93', [96, 42.837]], + ['parent/93', [80, 1.72]], + ['name/94', [97, 37.71]], + ['parent/94', []], + ['name/95', [98, 42.837]], + ['parent/95', [97, 3.682]], + ['name/96', [3, 25.425]], + ['parent/96', [99, 2.275]], + ['name/97', [81, 37.71]], + ['parent/97', [99, 2.275]], + ['name/98', [82, 37.71]], + ['parent/98', [99, 2.275]], + ['name/99', [83, 37.71]], + ['parent/99', [99, 2.275]], + ['name/100', [84, 37.71]], + ['parent/100', [99, 2.275]], + ['name/101', [85, 37.71]], + ['parent/101', [99, 2.275]], + ['name/102', [100, 42.837]], + ['parent/102', [99, 2.275]], + ['name/103', [101, 42.837]], + ['parent/103', [99, 2.275]], + ['name/104', [102, 42.837]], + ['parent/104', [99, 2.275]], + ['name/105', [103, 42.837]], + ['parent/105', [99, 2.275]], ], invertedIndex: [ - ['__type', { _index: 29, name: { 24: {}, 40: {}, 51: {} }, parent: {} }], + ['__type', { _index: 29, name: { 24: {}, 41: {}, 52: {} }, parent: {} }], [ 'abstract', { _index: 0, name: { 0: {} }, parent: { 1: {}, 2: {}, 3: {} } }, ], ['abstractnavigator', { _index: 2, name: { 1: {} }, parent: {} }], - ['advancedoptions', { _index: 44, name: { 39: {} }, parent: {} }], + ['advancedoptions', { _index: 45, name: { 40: {} }, parent: {} }], ['allowanonymous', { _index: 31, name: { 27: {} }, parent: {} }], ['allowedlist', { _index: 23, name: { 20: {} }, parent: {} }], ['apiroutedefinition', { _index: 21, name: { 18: {} }, parent: {} }], - ['appstate', { _index: 56, name: { 52: {}, 81: {} }, parent: {} }], - ['audience', { _index: 49, name: { 44: {} }, parent: {} }], + ['appstate', { _index: 57, name: { 53: {}, 82: {} }, parent: {} }], + ['audience', { _index: 50, name: { 45: {} }, parent: {} }], ['auth.client', { _index: 6, name: { 4: {} }, parent: { 5: {}, 8: {} } }], [ 'auth.client.auth0clientfactory', @@ -1095,16 +1105,16 @@ window.searchData = { 19: {}, 21: {}, 28: {}, - 52: {}, - 54: {}, - 58: {}, + 53: {}, + 55: {}, + 59: {}, }, }, ], - ['auth.config.appstate', { _index: 58, name: {}, parent: { 53: {} } }], + ['auth.config.appstate', { _index: 59, name: {}, parent: { 54: {} } }], [ 'auth.config.authclientconfig', - { _index: 60, name: {}, parent: { 55: {}, 56: {}, 57: {} } }, + { _index: 61, name: {}, parent: { 56: {}, 57: {}, 58: {} } }, ], [ 'auth.config.authconfig', @@ -1124,7 +1134,7 @@ window.searchData = { 38: {}, 39: {}, 40: {}, - 42: {}, + 41: {}, 43: {}, 44: {}, 45: {}, @@ -1134,12 +1144,13 @@ window.searchData = { 49: {}, 50: {}, 51: {}, + 52: {}, }, }, ], [ 'auth.config.authconfig.__type', - { _index: 46, name: {}, parent: { 41: {} } }, + { _index: 47, name: {}, parent: { 42: {} } }, ], [ 'auth.config.httpinterceptorconfig', @@ -1161,32 +1172,31 @@ window.searchData = { parent: { 12: {}, 13: {}, 14: {}, 15: {}, 16: {}, 17: {} }, }, ], - ['auth.guard', { _index: 63, name: { 59: {} }, parent: { 60: {} } }], + ['auth.guard', { _index: 64, name: { 60: {} }, parent: { 61: {} } }], [ 'auth.guard.authguard', - { _index: 65, name: {}, parent: { 61: {}, 62: {}, 63: {}, 64: {} } }, + { _index: 66, name: {}, parent: { 62: {}, 63: {}, 64: {}, 65: {} } }, ], [ 'auth.interceptor', - { _index: 69, name: { 65: {} }, parent: { 66: {} } }, + { _index: 70, name: { 66: {} }, parent: { 67: {} } }, ], [ 'auth.interceptor.authhttpinterceptor', - { _index: 71, name: {}, parent: { 67: {}, 68: {} } }, + { _index: 72, name: {}, parent: { 68: {}, 69: {} } }, ], - ['auth.module', { _index: 73, name: { 69: {} }, parent: { 70: {} } }], + ['auth.module', { _index: 74, name: { 70: {} }, parent: { 71: {} } }], [ 'auth.module.authmodule', - { _index: 76, name: {}, parent: { 71: {}, 72: {} } }, + { _index: 77, name: {}, parent: { 72: {}, 73: {} } }, ], - ['auth.service', { _index: 77, name: { 73: {} }, parent: { 74: {} } }], + ['auth.service', { _index: 78, name: { 74: {} }, parent: { 75: {} } }], [ 'auth.service.authservice', { - _index: 79, + _index: 80, name: {}, parent: { - 75: {}, 76: {}, 77: {}, 78: {}, @@ -1204,17 +1214,17 @@ window.searchData = { 90: {}, 91: {}, 92: {}, + 93: {}, }, }, ], - ['auth.state', { _index: 96, name: { 93: {} }, parent: { 94: {} } }], + ['auth.state', { _index: 97, name: { 94: {} }, parent: { 95: {} } }], [ 'auth.state.authstate', { - _index: 98, + _index: 99, name: {}, parent: { - 95: {}, 96: {}, 97: {}, 98: {}, @@ -1224,32 +1234,33 @@ window.searchData = { 102: {}, 103: {}, 104: {}, + 105: {}, }, }, ], ['auth0clientfactory', { _index: 7, name: { 5: {} }, parent: {} }], ['auth0clientservice', { _index: 10, name: { 8: {} }, parent: {} }], - ['authclientconfig', { _index: 59, name: { 54: {} }, parent: {} }], + ['authclientconfig', { _index: 60, name: { 55: {} }, parent: {} }], ['authconfig', { _index: 32, name: { 28: {} }, parent: {} }], - ['authconfigservice', { _index: 62, name: { 58: {} }, parent: {} }], - ['authguard', { _index: 64, name: { 60: {} }, parent: {} }], - ['authhttpinterceptor', { _index: 70, name: { 66: {} }, parent: {} }], - ['authmodule', { _index: 74, name: { 70: {} }, parent: {} }], + ['authconfigservice', { _index: 63, name: { 59: {} }, parent: {} }], + ['authguard', { _index: 65, name: { 61: {} }, parent: {} }], + ['authhttpinterceptor', { _index: 71, name: { 67: {} }, parent: {} }], + ['authmodule', { _index: 75, name: { 71: {} }, parent: {} }], [ 'authorizetimeoutinseconds', - { _index: 43, name: { 38: {} }, parent: {} }, + { _index: 44, name: { 39: {} }, parent: {} }, ], - ['authservice', { _index: 78, name: { 74: {} }, parent: {} }], - ['authstate', { _index: 97, name: { 94: {} }, parent: {} }], - ['buildauthorizeurl', { _index: 94, name: { 91: {} }, parent: {} }], - ['buildlogouturl', { _index: 95, name: { 92: {} }, parent: {} }], + ['authservice', { _index: 79, name: { 75: {} }, parent: {} }], + ['authstate', { _index: 98, name: { 95: {} }, parent: {} }], + ['buildauthorizeurl', { _index: 95, name: { 92: {} }, parent: {} }], + ['buildlogouturl', { _index: 96, name: { 93: {} }, parent: {} }], ['cache', { _index: 41, name: { 36: {} }, parent: {} }], ['cachelocation', { _index: 40, name: { 35: {} }, parent: {} }], - ['canactivate', { _index: 67, name: { 63: {} }, parent: {} }], - ['canactivatechild', { _index: 68, name: { 64: {} }, parent: {} }], - ['canload', { _index: 66, name: { 62: {} }, parent: {} }], + ['canactivate', { _index: 68, name: { 64: {} }, parent: {} }], + ['canactivatechild', { _index: 69, name: { 65: {} }, parent: {} }], + ['canload', { _index: 67, name: { 63: {} }, parent: {} }], ['clientid', { _index: 36, name: { 31: {} }, parent: {} }], - ['connection', { _index: 54, name: { 49: {} }, parent: {} }], + ['connection', { _index: 55, name: { 50: {} }, parent: {} }], [ 'constructor', { @@ -1257,78 +1268,82 @@ window.searchData = { name: { 2: {}, 7: {}, - 55: {}, - 61: {}, - 67: {}, - 72: {}, - 75: {}, - 95: {}, + 56: {}, + 62: {}, + 68: {}, + 73: {}, + 76: {}, + 96: {}, }, parent: {}, }, ], ['createclient', { _index: 8, name: { 6: {} }, parent: {} }], - ['defaultscope', { _index: 45, name: { 41: {} }, parent: {} }], + ['defaultscope', { _index: 46, name: { 42: {} }, parent: {} }], ['delete', { _index: 19, name: { 16: {} }, parent: {} }], ['domain', { _index: 33, name: { 29: {} }, parent: {} }], - ['error', { _index: 84, name: { 80: {}, 100: {} }, parent: {} }], - ['errorpath', { _index: 51, name: { 46: {} }, parent: {} }], - ['forroot', { _index: 75, name: { 71: {} }, parent: {} }], - ['get', { _index: 14, name: { 12: {}, 57: {} }, parent: {} }], - ['getaccesstokensilently', { _index: 89, name: { 86: {} }, parent: {} }], - ['getaccesstokenwithpopup', { _index: 90, name: { 87: {} }, parent: {} }], - ['getidtokenclaims', { _index: 92, name: { 89: {} }, parent: {} }], - ['getuser', { _index: 91, name: { 88: {} }, parent: {} }], - ['handleredirectcallback', { _index: 93, name: { 90: {} }, parent: {} }], + ['error', { _index: 85, name: { 81: {}, 101: {} }, parent: {} }], + ['errorpath', { _index: 52, name: { 47: {} }, parent: {} }], + ['forroot', { _index: 76, name: { 72: {} }, parent: {} }], + ['get', { _index: 14, name: { 12: {}, 58: {} }, parent: {} }], + ['getaccesstokensilently', { _index: 90, name: { 87: {} }, parent: {} }], + ['getaccesstokenwithpopup', { _index: 91, name: { 88: {} }, parent: {} }], + ['getidtokenclaims', { _index: 93, name: { 90: {} }, parent: {} }], + ['getuser', { _index: 92, name: { 89: {} }, parent: {} }], + ['handleredirectcallback', { _index: 94, name: { 91: {} }, parent: {} }], ['head', { _index: 20, name: { 17: {} }, parent: {} }], - ['httpinterceptor', { _index: 50, name: { 45: {} }, parent: {} }], + ['httpinterceptor', { _index: 51, name: { 46: {} }, parent: {} }], ['httpinterceptorconfig', { _index: 22, name: { 19: {} }, parent: {} }], [ 'httpinterceptorrouteconfig', { _index: 25, name: { 21: {} }, parent: {} }, ], ['httpmethod', { _index: 13, name: { 11: {}, 26: {} }, parent: {} }], - ['idtokenclaims', { _index: 83, name: { 79: {}, 99: {} }, parent: {} }], - ['intercept', { _index: 72, name: { 68: {} }, parent: {} }], - ['invitation', { _index: 53, name: { 48: {} }, parent: {} }], - ['isauthenticated', { _index: 81, name: { 77: {}, 97: {} }, parent: {} }], + ['idtokenclaims', { _index: 84, name: { 80: {}, 100: {} }, parent: {} }], + ['intercept', { _index: 73, name: { 69: {} }, parent: {} }], + ['invitation', { _index: 54, name: { 49: {} }, parent: {} }], + ['isauthenticated', { _index: 82, name: { 78: {}, 98: {} }, parent: {} }], [ 'ishttpinterceptorrouteconfig', { _index: 12, name: { 10: {} }, parent: {} }, ], - ['isloading', { _index: 80, name: { 76: {}, 96: {} }, parent: {} }], + ['isloading', { _index: 81, name: { 77: {}, 97: {} }, parent: {} }], ['issuer', { _index: 35, name: { 30: {} }, parent: {} }], ['leeway', { _index: 39, name: { 34: {} }, parent: {} }], - ['loginwithpopup', { _index: 87, name: { 84: {} }, parent: {} }], - ['loginwithredirect', { _index: 86, name: { 83: {} }, parent: {} }], - ['logout', { _index: 88, name: { 85: {} }, parent: {} }], - ['maxage', { _index: 47, name: { 42: {} }, parent: {} }], + ['loginwithpopup', { _index: 88, name: { 85: {} }, parent: {} }], + ['loginwithredirect', { _index: 87, name: { 84: {} }, parent: {} }], + ['logout', { _index: 89, name: { 86: {} }, parent: {} }], + ['maxage', { _index: 48, name: { 43: {} }, parent: {} }], ['navigatebyurl', { _index: 5, name: { 3: {} }, parent: {} }], ['navigator', { _index: 1, name: { 0: {} }, parent: { 1: {} } }], [ 'navigator.abstractnavigator', { _index: 4, name: {}, parent: { 2: {}, 3: {} } }, ], - ['ngondestroy', { _index: 85, name: { 82: {} }, parent: {} }], - ['nowprovider', { _index: 55, name: { 50: {} }, parent: {} }], - ['organization', { _index: 52, name: { 47: {} }, parent: {} }], + ['ngondestroy', { _index: 86, name: { 83: {} }, parent: {} }], + ['nowprovider', { _index: 56, name: { 51: {} }, parent: {} }], + ['organization', { _index: 53, name: { 48: {} }, parent: {} }], ['patch', { _index: 18, name: { 15: {} }, parent: {} }], ['post', { _index: 16, name: { 13: {} }, parent: {} }], ['put', { _index: 17, name: { 14: {} }, parent: {} }], ['redirecturi', { _index: 37, name: { 32: {} }, parent: {} }], - ['refresh', { _index: 100, name: { 102: {} }, parent: {} }], - ['scope', { _index: 48, name: { 43: {} }, parent: {} }], - ['set', { _index: 61, name: { 56: {} }, parent: {} }], - ['setaccesstoken', { _index: 101, name: { 103: {} }, parent: {} }], - ['seterror', { _index: 102, name: { 104: {} }, parent: {} }], - ['setisloading', { _index: 99, name: { 101: {} }, parent: {} }], + ['refresh', { _index: 101, name: { 103: {} }, parent: {} }], + ['scope', { _index: 49, name: { 44: {} }, parent: {} }], + ['set', { _index: 62, name: { 57: {} }, parent: {} }], + ['setaccesstoken', { _index: 102, name: { 104: {} }, parent: {} }], + ['seterror', { _index: 103, name: { 105: {} }, parent: {} }], + ['setisloading', { _index: 100, name: { 102: {} }, parent: {} }], ['skipredirectcallback', { _index: 38, name: { 33: {} }, parent: {} }], - ['target', { _index: 57, name: { 53: {} }, parent: {} }], + ['target', { _index: 58, name: { 54: {} }, parent: {} }], ['tokenoptions', { _index: 30, name: { 25: {} }, parent: {} }], ['uri', { _index: 26, name: { 22: {} }, parent: {} }], ['urimatcher', { _index: 28, name: { 23: {} }, parent: {} }], - ['user', { _index: 82, name: { 78: {}, 98: {} }, parent: {} }], + ['user', { _index: 83, name: { 79: {}, 99: {} }, parent: {} }], ['userefreshtokens', { _index: 42, name: { 37: {} }, parent: {} }], + [ + 'userefreshtokensfallback', + { _index: 43, name: { 38: {} }, parent: {} }, + ], ], pipeline: [], }, diff --git a/docs/classes/abstract_navigator.abstractnavigator.html b/docs/classes/abstract_navigator.abstractnavigator.html index 2bcd04c3..258e764b 100644 --- a/docs/classes/abstract_navigator.abstractnavigator.html +++ b/docs/classes/abstract_navigator.abstractnavigator.html @@ -162,7 +162,7 @@
+ In order for Auth0 to be able to issue tokens for a specific API,
+ we need to configure the Audience to inform Auth0 about the API in
+ question. Set the audience
, when calling
+ AuthModule.forRoot()
, to the
+ API Identifier of the API from within your Auth0
+ dashboard.
+
import { BrowserModule } from '@angular/platform-browser';
+import { NgModule } from '@angular/core';
+import { AppComponent } from './app.component';
+
+// Import the module from the SDK
+import { AuthModule } from '@auth0/auth0-angular';
+
+@NgModule({
+ declarations: [AppComponent],
+ imports: [
+ BrowserModule,
+
+ // Import the module into the application, with configuration
+ AuthModule.forRoot({
+ domain: 'YOUR_AUTH0_DOMAIN',
+ clientId: 'YOUR_AUTH0_CLIENT_ID',
+ audience: 'YOUR_AUTH0_API_IDENTIFIER',
+ }),
+ ],
+
+ bootstrap: [AppComponent],
+})
+export class AppModule {}
+
Configure AuthHttpInterceptor to attach access tokens
// Modify your existing SDK configuration to include the httpInterceptor config
AuthModule.forRoot({
- domain: 'YOUR_AUTH0_DOMAIN',
- clientId: 'YOUR_AUTH0_CLIENT_ID',
- redirectUri: window.location.origin,
-
+ ...
// The AuthHttpInterceptor configuration
- httpInterceptor: {
+ httpInterceptor: {
allowedList: [
// Attach access tokens to any calls to '/api' (exact match)
'/api',
diff --git a/docs/interfaces/auth_config.appstate.html b/docs/interfaces/auth_config.appstate.html
index 895c0485..e63e4594 100644
--- a/docs/interfaces/auth_config.appstate.html
+++ b/docs/interfaces/auth_config.appstate.html
@@ -150,8 +150,8 @@
+ If true, fallback to the technique of using a hidden iframe + and the
+authorization_code
grant with +prompt=none
when unable to use refresh tokens. + The default setting istrue
. ++ Note: There might be situations where doing + silent auth with a Web Message response from an iframe is not + possible, like when you're serving your application from + the file system or a custom protocol (like in a Desktop or + Native app). In situations like this you can disable the + iframe fallback and handle the failed Refresh Grant and prompt + the user to login interactively with +
+loginWithRedirect
or +loginWithPopup
." ++ E.g. Using the
+file:
protocol in an Electron + application does not support that legacy technique. ++ this.authService.getAccessTokenSilently().subscribe({ error: + (e) => { if (e.error === 'missing_refresh_token' || + e.error === 'invalid_grant') { + this.authService.loginWithRedirect(); } } }); +
+