From 11d1e39ea94da3981f3021e702dd54758f644148 Mon Sep 17 00:00:00 2001 From: Yogesh Chaudhary Date: Thu, 5 Feb 2026 17:41:33 +0530 Subject: [PATCH] Release v2.6.0 --- .version | 2 +- CHANGELOG.md | 12 + docs/assets/hierarchy.js | 2 +- docs/assets/icons.js | 2 +- docs/assets/icons.svg | 2 +- docs/assets/navigation.js | 2 +- docs/assets/search.js | 2 +- docs/classes/AbstractNavigator.html | 6 +- docs/classes/Auth0ClientFactory.html | 4 +- docs/classes/AuthClientConfig.html | 8 +- docs/classes/AuthGuard.html | 10 +- docs/classes/AuthHttpInterceptor.html | 6 +- docs/classes/AuthModule.html | 4 +- docs/classes/AuthService.html | 249 +++++- docs/classes/AuthState.html | 22 +- docs/classes/AuthenticationError.html | 16 +- docs/classes/GenericError.html | 12 +- docs/classes/MfaRequiredError.html | 73 +- docs/classes/MissingRefreshTokenError.html | 16 +- docs/classes/PopupCancelledError.html | 14 +- docs/classes/PopupTimeoutError.html | 14 +- docs/classes/TimeoutError.html | 12 +- docs/classes/UseDpopNonceError.html | 14 +- docs/classes/User.html | 42 +- docs/enums/HttpMethod.html | 14 +- docs/functions/authGuardFn.html | 2 +- docs/functions/authHttpInterceptorFn.html | 2 +- .../isHttpInterceptorRouteConfig.html | 2 +- docs/functions/provideAuth0.html | 18 +- docs/hierarchy.html | 24 +- docs/interfaces/AppState.html | 4 +- docs/interfaces/AuthConfig.html | 56 +- docs/interfaces/GetTokenSilentlyOptions.html | 10 +- docs/interfaces/GetTokenWithPopupOptions.html | 6 +- docs/interfaces/HttpInterceptorConfig.html | 4 +- .../HttpInterceptorRouteConfig.html | 12 +- docs/interfaces/IdToken.html | 78 +- docs/interfaces/LogoutOptions.html | 10 +- docs/interfaces/PopupConfigOptions.html | 100 ++- docs/interfaces/PopupLoginOptions.html | 4 +- .../RedirectConnectAccountOptions.html | 14 +- docs/interfaces/RedirectLoginOptions.html | 10 +- docs/modules.html | 62 ++ docs/types/ApiRouteDefinition.html | 2 +- docs/types/CustomTokenExchangeOptions.html | 813 ++++++++++++++++++ docs/types/TokenEndpointResponse.html | 620 +++++++++++++ docs/variables/Auth0ClientService.html | 2 +- docs/variables/AuthConfigService.html | 2 +- projects/auth0-angular/package.json | 2 +- 49 files changed, 2127 insertions(+), 292 deletions(-) create mode 100644 docs/types/CustomTokenExchangeOptions.html create mode 100644 docs/types/TokenEndpointResponse.html diff --git a/.version b/.version index d80b4a81..7433fb30 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -v2.5.0 \ No newline at end of file +v2.6.0 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index e46c3bcb..640c0e1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Change Log +## [v2.6.0](https://github.com/auth0/auth0-angular/tree/v2.6.0) (2026-02-05) + +[Full Changelog](https://github.com/auth0/auth0-angular/compare/v2.5.0...v2.6.0) + +**Added** + +- feat: add loginWithCustomTokenExchange method [\#799](https://github.com/auth0/auth0-angular/pull/799) ([yogeshchoudhary147](https://github.com/yogeshchoudhary147)) + +**Changed** + +- feat: use makeEnvironmentProviders to prevent provideAuth0 component-level usage at compile time [\#785](https://github.com/auth0/auth0-angular/pull/785) ([yogeshchoudhary147](https://github.com/yogeshchoudhary147)) + ## [v2.5.0](https://github.com/auth0/auth0-angular/tree/v2.5.0) (2026-01-13) [Full Changelog](https://github.com/auth0/auth0-angular/compare/v2.4.1...v2.5.0) diff --git a/docs/assets/hierarchy.js b/docs/assets/hierarchy.js index 3a6fea02..e2927375 100644 --- a/docs/assets/hierarchy.js +++ b/docs/assets/hierarchy.js @@ -1,2 +1,2 @@ window.hierarchyData = - 'eJyVk8tOwzAQRf9l1oa6cRys7FBBCKk8xEMsKhaWO2mspnawnRXqv6OkArktxWEVybnjc++M5xOctcFDucgZI4xRwih9J+CwalAFbY2H8hMYpf3HyA1CCY+27dq5XWnz0O4kBNbaLKHMeEGgcw2UoE1AV0mFfnKkP6/DpgECqpHeQwnBL8/6C85+ivqftW6WDg2UC0b5+5YAozxycYPhxa7RvOlQD4RxZk6VjfDUW2BxI25nUtWYAO5E/46cF0PkvIh4c6tk8xyskyvcR08z8Y0eCOgnR+KTFnYHWwI5Y3sNNui0unbOur9AsS7B2IuYc0FyMSWcMcKLjHBxQQoxxM65iIy86A3aLiSNxLr/GOFUDFAxjaB3lXzCj047XCbBh9p0pzkVhws1NuWReARtb66XXajRBK1k//CTvF/kI4hFdphvJo3CphnRzl/kI4jiIp6e9l6b1RNWDn09LHx6iidq0uxCxFv66vGqte29NQqT0CNxirbdfgFlY+U+'; + 'eJyVlF1PgzAUhv/Lua6O0RaBOzONMXFq5owXixdNdzYaWYttuTL77wYWTfdl8YoEnsPznkMPX2CN8Q7KBaNXhFJGaELfCVhc1Si9MtpB+QU0od1Fiw1CCc+maZsHs1b6qdkhBD6UXkKZ8oxAa2soQWmPdiUkutERf1n5TQ0EZC2cgxK8W150L7j4LeoeVqpeWtRQLmhSvG8J0KQIUtyhn5sP1G/KV71hWJhzZQMydREoCyLcT4SsMCLcQf9umSd9yzwJfA9GivrFGyvWuK8ep/mPujegGx3BZyPsbmwJMHq1N2CNVslba439SxRyEcdeiyxLCcs54bQgPMsJLyjJirRrm2VpEGSuNmhaHw0Scv8Jwsesl+Y8kE5XYoafrbK4jIoP2fik+ZgdLtTQLo/gATYaLs516yvUXknRHfyo7wQ+wJjlh/1NhJZY1wPGeQIfYCzCX9RUOaf0eoYri67qFz7+Fc/UxN1ZER7XV4c3jWkejZYYlR7BMdt2+w3fWeVW'; diff --git a/docs/assets/icons.js b/docs/assets/icons.js index 20caa56f..b5b93f25 100644 --- a/docs/assets/icons.js +++ b/docs/assets/icons.js @@ -6,7 +6,7 @@ const svg = document.body.appendChild( document.createElementNS('http://www.w3.org/2000/svg', 'svg') ); - svg.innerHTML = `MMNEPVFCICPMFPCPTTAAATR`; + svg.innerHTML = `MMNEPVFCICPMFPCPTTAAATR`; svg.style.display = 'none'; if (location.protocol === 'file:') updateUseElements(); } diff --git a/docs/assets/icons.svg b/docs/assets/icons.svg index 50ad5799..10db10be 100644 --- a/docs/assets/icons.svg +++ b/docs/assets/icons.svg @@ -1 +1 @@ -MMNEPVFCICPMFPCPTTAAATR \ No newline at end of file +MMNEPVFCICPMFPCPTTAAATR \ No newline at end of file diff --git a/docs/assets/navigation.js b/docs/assets/navigation.js index 862d35c4..2666f79a 100644 --- a/docs/assets/navigation.js +++ b/docs/assets/navigation.js @@ -1,2 +1,2 @@ window.navigationData = - 'eJyll1FP2zAUhf9LnsuAbrCtb6gMVokCKkx7mPZgnNvmisT27OuKbtp/n5J0beI4TuU+n+Pv2NfOtfPjT0LwRskk+Uqk5kCZTJNRohhlySQBYQtzulfeZVTkySh5RZEmk09/R7vRVy+GNON0z9a4YiT1HsJzZgyY046lTTsft3iWsrNpjiDohnGSeuMBdjxDxNo8lWKJKz+v6RiigSDkjFCKL1p7V9w1dZij2p1MEjLpCZoTeCPQguWJk3ZrmU79GZU0NNtyF2eCQHNQ/v3pmoaYc5naHPyoWhsiPIFeI+9BbMVBBjHqI5RSaPwNEM/AU42tELdftyBAI+85Fk01jj8Tcyik3kwZzzwrb8lxCXeSs/yJpGYr6EnpWOKS5ku2gF8WNaQ99XIdkTloDIrVApYaTPYsX6Hvs+1zxuU+SmXVlAkOed67RI/piLRnLEBaCmU1LXFJ4ZDj+d8MXCup7qXg0BPSsUQn+eGx3VoppyVh2VKXjJddaSu20eOLS/eqci6pJmInD0Gkxt/V3fPINCtML83xdbAHNj2qvpUnzEFQvnlQJdEf2uM9Lvg7UlYd7kOSXXNctHNfBjbN6wztnzNgIS3B4fyGPRQyc3p7Azjz9PRDyzJLqxr7ubUWB76TK2kptL8tR2jpdcutKhTidW1xM684d3KFYjCt6YoLW0CKGnj5jhXA6YpzaUWwbMERx01icNE+Y7CzKayO9zUsUWBp32Npo6om6zoc3tnnj+cX4wazOuzspfmYrVE7wUs4qBBTa0gW1YNyjgILlj9YUpY6UT2++OTtI9Z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MX8kRiqxZjk0lQhhbd3D/PwHUDDs1A=='; diff --git a/docs/assets/search.js b/docs/assets/search.js index 8de4e03f..71ce5d7e 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1,2 +1,2 @@ window.searchData = - 'eJytnFtv2zoSx7+Luo9Gal5l563bbs8p0J5TtHt5MIKFKjOxUEUSJDlniyDffUFdrBmRkseKn1zEnP8Mh78hKZrqc1Dmf1XB7e45+Jlk++B2swqy6NEEt8HvdV18MfUh3wer4FimwW1gsuNj9Xb44uZQP6bBKojTqKpMFdwGwcuqV2L6JPXBpKY28zJv9n0joLYKiqg0WY3D8fr4zdRnHDw0LZap/26iM2l4c2ibLNP/GtXx4YyDomuz0ENenUtQ0TZZqH88K3+8VJ0PNL77UdVlFNd/RE/JQ1Tn5clZJ/jWaTFLp2L8pB3nWVWXx5iu+gab+Pvkhjy452s59C1rG5i///pXmVIj6I1+/DqW6aIYUHqP9WH9Pk1MVn+MbK9+uXE4Ta6TYL8sLcNu1BMpjksT1aZtSg+hMYp7owUxjFPctnufZ/fJgzcM2OBq6XVEyclF8U6k9sH4M+p6nZuAqd4qsrdqmbfxkP12jMq912XzzdUGaVAjj04b2hTxUfYurpOnCCy8U/6iLBqavt7f+0OSnksZdBp37Zd7/pxHFIdpPrNE+/yMYbDL1KesNmVsiqmBHLW5GiA+XTIq48AnUpn0TegRQJMl/scp/pLvj6kf2farqyUUyJHz2EU3kb77vPyW5/7kQW/3eVm27S7wNE7Ud1M+JbE/U913V0sV1CPnqg8QdGHN5clnVBTf66g2fzvvMSqKqj43O51xZ8oyLwm+mnavcZTs/5n/NNn7NEoeK4LDZF/b9nHT/lWOK9vIZHUSR7XZU1xXEbR4nXM7ByfZA8lt2rZ9jcNjZSjDaZtd6AYvLnmWmbh+F8f5Mav/k9SHb2aflCb2V/m4UKxt1Nr+ldSHcrBdHlGzK/1o6vhgKNXaNL8/NV/s98Fkpoxq86HIi69lnt+f992b7Iu8KDqTV/i3o2Cqqimv70lqsj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Xo1EbxyOSoDXTWcpRP+p+8/+71L1n7b/vOk+DTM96L4nyBEo94I3YyZv3Y9aCgCueJVhuBgPAgLxsCT6V8vA6ICyovpsmgu0uneYwCwBo215Ff10CQpEBTomeckhrhiAZAM9xasB7btlICIQUM8aryrN3ToAwQFtxSsHs/cHgCpYwTQPe3wpAEgBRjSPjbn3+4EoKIKaN5e6/1gBSIC88QTmF0MDpqPV16iFmxIDBtbyKt9Es916EsJgQCwPZ/iy0ygEOt1vO2MeKpN3p8E8AcOq+plieMMLLpCCCgfqieSNS/CCNYgOLJWqXyMMj52s5o2NBS42vMkC3sAFoYL1WPXLm+ElYPkyC5g/IFTNy8L0fgoQA/HqC+Oktg0KrPaaV2qHqyRABNCjeTOwEzm9gQcmHdCKeR2c/NccoxaQ4hV8dG0FrLZgAmveOtn/5zFAA0jwFIrJU/UowBun/rWipHvrCEwdgNCGVzNKPN4AaN5oD+S1KBKDbkGCY17vTvcTQIrBSmV4gdV4+yGAgmAroIsLIBww5IZHTT2zNdBgY6V5K9F4wQHIQIbYMmTd1IABw5tc9DvpAHDQScuDYLicAOICcFveuoDfBQbxgC7GPKn2RV6gAI/neDMNvn4LhECVjnlLSHdJCCx0QEKZfqFjZPnLKiqz0h2y3EW32y8/fvwf0J8WqA=='; diff --git a/docs/classes/AbstractNavigator.html b/docs/classes/AbstractNavigator.html index bfdbdf8a..ff3d0704 100644 --- a/docs/classes/AbstractNavigator.html +++ b/docs/classes/AbstractNavigator.html @@ -93,7 +93,7 @@

Class AbstractNavigator

  • Defined in projects/auth0-angular/src/lib/abstract-navigator.ts:8
  • @@ -237,7 +237,7 @@

  • Defined in projects/auth0-angular/src/lib/abstract-navigator.ts:11
  • @@ -326,7 +326,7 @@

  • Defined in projects/auth0-angular/src/lib/abstract-navigator.ts:23
  • diff --git a/docs/classes/Auth0ClientFactory.html b/docs/classes/Auth0ClientFactory.html index 5a21fc45..b5720464 100644 --- a/docs/classes/Auth0ClientFactory.html +++ b/docs/classes/Auth0ClientFactory.html @@ -93,7 +93,7 @@

    Class Auth0ClientFactory

  • Defined in projects/auth0-angular/src/lib/auth.client.ts:6
  • @@ -287,7 +287,7 @@

  • Defined in projects/auth0-angular/src/lib/auth.client.ts:7
  • diff --git a/docs/classes/AuthClientConfig.html b/docs/classes/AuthClientConfig.html index a5d08d54..65cf1477 100644 --- a/docs/classes/AuthClientConfig.html +++ b/docs/classes/AuthClientConfig.html @@ -118,7 +118,7 @@

  • Defined in projects/auth0-angular/src/lib/auth.config.ts:216
  • @@ -337,7 +337,7 @@

  • Defined in projects/auth0-angular/src/lib/auth.config.ts:234
  • @@ -410,7 +410,7 @@

  • Defined in projects/auth0-angular/src/lib/auth.config.ts:227
  • diff --git a/docs/classes/AuthGuard.html b/docs/classes/AuthGuard.html index a7e29546..565d0136 100644 --- a/docs/classes/AuthGuard.html +++ b/docs/classes/AuthGuard.html @@ -93,7 +93,7 @@

    Class AuthGuard

  • Defined in projects/auth0-angular/src/lib/auth.guard.ts:15
  • @@ -247,7 +247,7 @@

  • Defined in projects/auth0-angular/src/lib/auth.guard.ts:16
  • @@ -348,7 +348,7 @@

  • Defined in projects/auth0-angular/src/lib/auth.guard.ts:22
  • @@ -436,7 +436,7 @@

  • Defined in projects/auth0-angular/src/lib/auth.guard.ts:29
  • @@ -514,7 +514,7 @@

  • Defined in projects/auth0-angular/src/lib/auth.guard.ts:18
  • diff --git a/docs/classes/AuthHttpInterceptor.html b/docs/classes/AuthHttpInterceptor.html index 4f2d1b8c..32df3e83 100644 --- a/docs/classes/AuthHttpInterceptor.html +++ b/docs/classes/AuthHttpInterceptor.html @@ -99,7 +99,7 @@

    Implements

  • Defined in projects/auth0-angular/src/lib/auth.interceptor.ts:45
  • @@ -292,7 +292,7 @@

  • Defined in projects/auth0-angular/src/lib/auth.interceptor.ts:46
  • @@ -414,7 +414,7 @@

  • Defined in projects/auth0-angular/src/lib/auth.interceptor.ts:53
  • diff --git a/docs/classes/AuthModule.html b/docs/classes/AuthModule.html index 88f4dadd..916719b8 100644 --- a/docs/classes/AuthModule.html +++ b/docs/classes/AuthModule.html @@ -93,7 +93,7 @@

    Class AuthModule

  • Defined in projects/auth0-angular/src/lib/auth.module.ts:8
  • @@ -301,7 +301,7 @@

  • Defined in projects/auth0-angular/src/lib/auth.module.ts:15
  • diff --git a/docs/classes/AuthService.html b/docs/classes/AuthService.html index afcad46b..fa47ff3a 100644 --- a/docs/classes/AuthService.html +++ b/docs/classes/AuthService.html @@ -121,8 +121,8 @@

    Implements

  • Defined in projects/auth0-angular/src/lib/auth.service.ts:48projects/auth0-angular/src/lib/auth.service.ts:50
  • @@ -288,6 +288,19 @@

    Methods

    handleRedirectCallback + + loginWithCustomTokenExchange
  • Defined in projects/auth0-angular/src/lib/auth.service.ts:87projects/auth0-angular/src/lib/auth.service.ts:89
  • @@ -593,8 +606,8 @@

  • Defined in projects/auth0-angular/src/lib/auth.service.ts:166projects/auth0-angular/src/lib/auth.service.ts:168
  • @@ -1079,8 +1092,8 @@

  • Defined in projects/auth0-angular/src/lib/auth.service.ts:430projects/auth0-angular/src/lib/auth.service.ts:474
  • @@ -1252,8 +1265,8 @@

  • Defined in projects/auth0-angular/src/lib/auth.service.ts:409projects/auth0-angular/src/lib/auth.service.ts:453
  • @@ -1357,8 +1370,8 @@

  • Defined in projects/auth0-angular/src/lib/auth.service.ts:230projects/auth0-angular/src/lib/auth.service.ts:232
  • @@ -1427,8 +1440,8 @@

  • Defined in projects/auth0-angular/src/lib/auth.service.ts:239projects/auth0-angular/src/lib/auth.service.ts:241
  • @@ -1526,8 +1539,8 @@

  • Defined in projects/auth0-angular/src/lib/auth.service.ts:304projects/auth0-angular/src/lib/auth.service.ts:306
  • @@ -1620,8 +1633,8 @@

  • Defined in projects/auth0-angular/src/lib/auth.service.ts:373projects/auth0-angular/src/lib/auth.service.ts:417
  • @@ -1755,8 +1768,150 @@

  • Defined in projects/auth0-angular/src/lib/auth.service.ts:336projects/auth0-angular/src/lib/auth.service.ts:380 +
  • + + + + + + +
    + +
      +
    • + +
      +
      +
      loginWithCustomTokenExchange(options).subscribe(tokenResponse => ...)
      +
      + +

      + Exchanges an external subject token for Auth0 tokens and + establishes an authenticated session. +

      +

      + This method implements the token exchange grant as + specified in RFC 8693. It performs a token exchange by + sending a request to the + /oauth/token endpoint with the external + token and returns Auth0 tokens (access token, ID token, + etc.). +

      +

      The request includes the following parameters:

      +
        +
      • + grant_type: Hard-coded to + "urn:ietf:params:oauth:grant-type:token-exchange" +
      • +
      • + subject_token: The external token to be + exchanged +
      • +
      • + subject_token_type: A namespaced URI + identifying the token type (must be under your + organization's control) +
      • +
      • + audience: The target audience (falls back + to the SDK's default audience if not provided) +
      • +
      • + scope: Space-separated list of scopes + (merged with the SDK's default scopes) +
      • +
      +

      + After a successful token exchange, this method updates + the authentication state to ensure consistency with the + standard authentication flows. +

      +
      +
      +

      Parameters

      + +
      +

      + Returns Observable<TokenEndpointResponse> +

      +

      + An Observable that emits the token endpoint response + containing Auth0 tokens +

      +
    @@ -1984,8 +2139,8 @@

  • Defined in projects/auth0-angular/src/lib/auth.service.ts:140projects/auth0-angular/src/lib/auth.service.ts:142
  • @@ -2081,8 +2236,8 @@

  • Defined in projects/auth0-angular/src/lib/auth.service.ts:215projects/auth0-angular/src/lib/auth.service.ts:217
  • @@ -2130,8 +2285,8 @@

  • Defined in projects/auth0-angular/src/lib/auth.service.ts:123projects/auth0-angular/src/lib/auth.service.ts:125
  • @@ -2230,8 +2385,8 @@

  • Defined in projects/auth0-angular/src/lib/auth.service.ts:389projects/auth0-angular/src/lib/auth.service.ts:433
  • @@ -2558,6 +2713,16 @@

    On This Page

    > handleRedirectCallback + loginWithCustomTokenExchangeClass AuthState

  • Defined in projects/auth0-angular/src/lib/auth.state.ts:26
  • @@ -307,7 +307,7 @@

  • Defined in projects/auth0-angular/src/lib/auth.state.ts:112
  • @@ -361,7 +361,7 @@

  • Defined in projects/auth0-angular/src/lib/auth.state.ts:127
  • @@ -668,7 +668,7 @@

  • Defined in projects/auth0-angular/src/lib/auth.state.ts:136
  • @@ -736,7 +736,7 @@

  • Defined in projects/auth0-angular/src/lib/auth.state.ts:145
  • @@ -807,7 +807,7 @@

  • Defined in projects/auth0-angular/src/lib/auth.state.ts:119
  • diff --git a/docs/classes/AuthenticationError.html b/docs/classes/AuthenticationError.html index 44ba5fb7..5f8b1da6 100644 --- a/docs/classes/AuthenticationError.html +++ b/docs/classes/AuthenticationError.html @@ -100,7 +100,7 @@

    Class AuthenticationError

    -
    +

    Hierarchy (View Summary
    • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:17 + node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:30
    @@ -413,7 +413,7 @@

    • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:20 + node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:33
    @@ -457,7 +457,7 @@

    • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:8 + node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:21
    diff --git a/docs/classes/GenericError.html b/docs/classes/GenericError.html index dcffffa5..28dc2cbb 100644 --- a/docs/classes/GenericError.html +++ b/docs/classes/GenericError.html @@ -93,7 +93,7 @@

    Class GenericError

    Thrown when network requests to the Auth server fail.

    -
    +

    Hierarchy (View Summary) @@ -157,7 +157,7 @@

    • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:4 + node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:17
    @@ -392,7 +392,7 @@

    • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:7 + node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:20
    @@ -433,7 +433,7 @@

    • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:8 + node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:21
    diff --git a/docs/classes/MfaRequiredError.html b/docs/classes/MfaRequiredError.html index 85536e65..a98a9514 100644 --- a/docs/classes/MfaRequiredError.html +++ b/docs/classes/MfaRequiredError.html @@ -96,7 +96,7 @@

    Class MfaRequiredError

    -
    +

    Hierarchy (View Summary
    • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:56 + node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:69
    @@ -193,6 +193,17 @@

    Properties

    message + + mfa_requirements >mfa_token: string,
        mfa_requirements: + MfaRequirements,
    )Parameters string +
  • + mfa_requirements: + MfaRequirements +
  • @@ -388,7 +414,7 @@

    • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:58 + node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:72
    @@ -437,7 +463,7 @@

    +
    + +
    + mfa_requirements: + MfaRequirements +
    + +

    • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:8 + node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:21
    @@ -1185,6 +1236,14 @@

    On This Page

    > message + mfa_requirementsClass MissingRefreshTokenError

    Error thrown when there is no refresh token to use

    -
    +

    Hierarchy (View Summary
    • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:63 + node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:77
    @@ -383,7 +383,7 @@

    • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:66 + node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:80
    @@ -427,7 +427,7 @@

    • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:8 + node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:21
    diff --git a/docs/classes/PopupCancelledError.html b/docs/classes/PopupCancelledError.html index ebfbabce..68521beb 100644 --- a/docs/classes/PopupCancelledError.html +++ b/docs/classes/PopupCancelledError.html @@ -93,7 +93,7 @@

    Class PopupCancelledError

    Thrown when network requests to the Auth server fail.

    -
    +

    Hierarchy (View Summary
    • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:46 + node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:59
    @@ -358,7 +358,7 @@

    • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:48 + node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:61
    @@ -407,7 +407,7 @@

    • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:8 + node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:21
    diff --git a/docs/classes/PopupTimeoutError.html b/docs/classes/PopupTimeoutError.html index 81bb55f4..5537602c 100644 --- a/docs/classes/PopupTimeoutError.html +++ b/docs/classes/PopupTimeoutError.html @@ -96,7 +96,7 @@

    Class PopupTimeoutError

    -
    +

    Hierarchy (View Summary
    • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:42 + node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:55
    @@ -361,7 +361,7 @@

    • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:44 + node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:57
    @@ -410,7 +410,7 @@

    • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:8 + node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:21
    diff --git a/docs/classes/TimeoutError.html b/docs/classes/TimeoutError.html index a6a53a39..73305c08 100644 --- a/docs/classes/TimeoutError.html +++ b/docs/classes/TimeoutError.html @@ -96,7 +96,7 @@

    Class TimeoutError

    -
    +

    Hierarchy (View Summary) @@ -129,7 +129,7 @@

    • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:36 + node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:49
    @@ -345,7 +345,7 @@

    • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:37 + node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:50
    @@ -394,7 +394,7 @@

    • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:8 + node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:21
    diff --git a/docs/classes/UseDpopNonceError.html b/docs/classes/UseDpopNonceError.html index 40c1ecca..d498e001 100644 --- a/docs/classes/UseDpopNonceError.html +++ b/docs/classes/UseDpopNonceError.html @@ -96,7 +96,7 @@

    Class UseDpopNonceError

    -
    +

    Hierarchy (View Summary
    • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:79 + node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:93
    @@ -369,7 +369,7 @@

    • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:81 + node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:95
    @@ -418,7 +418,7 @@

    • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:8 + node_modules/@auth0/auth0-spa-js/dist/typings/errors.d.ts:21
    diff --git a/docs/classes/User.html b/docs/classes/User.html index 71429d18..2e62f466 100644 --- a/docs/classes/User.html +++ b/docs/classes/User.html @@ -106,7 +106,7 @@

    Indexable

    • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:673 + node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:714
    @@ -437,7 +437,7 @@

    Enumeration HttpMethodConst

  • Defined in projects/auth0-angular/src/lib/auth.config.ts:13
  • @@ -221,7 +221,7 @@

  • Defined in projects/auth0-angular/src/lib/auth.config.ts:15
  • @@ -346,7 +346,7 @@

  • Defined in projects/auth0-angular/src/lib/functional.ts:17
  • diff --git a/docs/functions/authHttpInterceptorFn.html b/docs/functions/authHttpInterceptorFn.html index 9a5f04e3..d412d898 100644 --- a/docs/functions/authHttpInterceptorFn.html +++ b/docs/functions/authHttpInterceptorFn.html @@ -214,7 +214,7 @@

  • Defined in projects/auth0-angular/src/lib/functional.ts:32
  • diff --git a/docs/functions/isHttpInterceptorRouteConfig.html b/docs/functions/isHttpInterceptorRouteConfig.html index 308ed8cf..8c52fbb7 100644 --- a/docs/functions/isHttpInterceptorRouteConfig.html +++ b/docs/functions/isHttpInterceptorRouteConfig.html @@ -164,7 +164,7 @@

  • Defined in projects/auth0-angular/src/lib/auth.config.ts:35
  • diff --git a/docs/functions/provideAuth0.html b/docs/functions/provideAuth0.html index 3810ac4b..296e2003 100644 --- a/docs/functions/provideAuth0.html +++ b/docs/functions/provideAuth0.html @@ -102,8 +102,7 @@

    Function provideAuth0

    >AuthConfig): - Provider[]EnvironmentProvidersFunction provideAuth0 (perhaps from an APP_INITIALIZER factory function).

    - Note: Should only be used as of Angular 15, and should not - be added to a component's providers. + Note: Should only be used as of Angular 15. This function + returns EnvironmentProviders which ensures it + can only be used at the application/environment level and + cannot be added to a component's providers array (this will + result in a compile-time error).

    @@ -144,8 +146,8 @@

    Parameters

    - Returns Provider[] + Returns + EnvironmentProviders

    @@ -169,8 +171,8 @@

    Hierarchy Summary

    -
    +

    Hierarchy

    • @@ -298,7 +298,7 @@

      Hierarchy

    • Defined in projects/auth0-angular/src/lib/auth.config.ts:107
    • @@ -663,7 +663,7 @@
    -
    +

    Hierarchy

    • @@ -173,7 +173,7 @@

      Hierarchy

    • Defined in projects/auth0-angular/src/lib/interfaces.ts:9
    • @@ -294,7 +294,7 @@
      • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:431 + node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:472
      @@ -496,7 +496,7 @@

      Interface PopupConfigOptions

      interface PopupConfigOptions {
          closePopup?: + boolean;
          popupInterface PopupConfigOptions
      • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:348 + node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:366
      @@ -135,6 +141,15 @@
      Index

      Properties

      + + closePopup? Properties

      Properties

      +
      + +
      + closePopup?: + boolean +
      +
      +

      + Controls whether the SDK automatically closes the popup + window. +

      +
        +
      • + true (default): SDK closes the popup + automatically after receiving the authorization response +
      • +
      • + false: SDK does not close the popup. The caller + is responsible for closing it, including on errors. +
      • +
      +

      + Setting this to false is useful when you need + full control over the popup lifecycle, such as in Chrome + extensions where closing the popup too early can terminate the + extension's service worker before authentication completes. +

      +

      + When closePopup: false, you should close the + popup in a try/finally block: +

      +
      const popup = window.open('', '_blank');
      try {
      await auth0.loginWithPopup({}, { popup, closePopup: false });
      } finally {
      popup.close();
      } +
      +
      +
      +
      + +
      true
      +
      +
      +
      + +

      On This Page

      >Properties -
      +

      Hierarchy (View Summary
      • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:346 + node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:364
      diff --git a/docs/interfaces/RedirectConnectAccountOptions.html b/docs/interfaces/RedirectConnectAccountOptions.html index 7b763e5f..b9380802 100644 --- a/docs/interfaces/RedirectConnectAccountOptions.html +++ b/docs/interfaces/RedirectConnectAccountOptions.html @@ -174,7 +174,7 @@

      Type Parameters

      • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:494 + node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:535
      @@ -319,7 +319,7 @@

      Type Parameters

    -
    +

    Hierarchy

    • @@ -182,7 +182,7 @@

      Hierarchy

    • Defined in projects/auth0-angular/src/lib/interfaces.ts:6
    • @@ -301,7 +301,7 @@

      Type Aliases

      >
      +
      + + CustomTokenExchangeOptions +
      +
      Type Aliases >
      +
      + + TokenEndpointResponse +
      +
      @@ -1587,6 +1631,16 @@

      On This Page

      >CustomFetchMinimalOutput + CustomTokenExchangeOptionsOn This Page > FetcherConfig + TokenEndpointResponse
      diff --git a/docs/types/ApiRouteDefinition.html b/docs/types/ApiRouteDefinition.html index f5a85003..976222a3 100644 --- a/docs/types/ApiRouteDefinition.html +++ b/docs/types/ApiRouteDefinition.html @@ -111,7 +111,7 @@

      Type Alias ApiRouteDefinition

    • Defined in projects/auth0-angular/src/lib/auth.config.ts:28
    • diff --git a/docs/types/CustomTokenExchangeOptions.html b/docs/types/CustomTokenExchangeOptions.html new file mode 100644 index 00000000..262341ff --- /dev/null +++ b/docs/types/CustomTokenExchangeOptions.html @@ -0,0 +1,813 @@ + + + + + + CustomTokenExchangeOptions | @auth0/auth0-angular + + + + + + + + + + + + +
      +
      + @auth0/auth0-angular + + + + +
        +
        +
        Preparing search index...
        +
        +
        + +
        +
        +
        +
        +
        + +

        Type Alias CustomTokenExchangeOptions

        +
        +
        +
        +

        + Represents the configuration options required for initiating a + Custom Token Exchange request following RFC 8693 specifications. +

        +
        + +
        +
        + type + CustomTokenExchangeOptions + = + {
            audience?: + string;
            organization?: + string;
            scope?: + string;
            subject_token: + string;
            subject_token_type: + string;
            [key: + string]: + unknown;
        } +
        +
        +

        Indexable

        +
          +
        • +
          + [key: + string]: + unknown +
          +
          +

          Additional custom parameters for Auth0 Action processing

          +
          +
          +
          + +

          + Accessible in Action code via + event.request.body +

          +
          +
          + +
          {
          custom_parameter: "session_context",
          device_fingerprint: "a3d8f7...",
          } +
          +
          +
          +
        • +
        +
        + +
        +
        +
        + + +
        Index
        +
        + +
        +
        +
        +
        + + +

        Properties

        +
        +
        +
        + +
        + audience?: + string +
        +
        +

        The target audience for the requested Auth0 token

        +
        +
        +
        + +

        + Must match exactly with an API identifier configured in your + Auth0 tenant. If not provided, falls back to the client's + default audience. +

        +
        +
        + +
        "https://api.your-service.com/v1"
        +
        +
        +
        + +
        +
        + +
        + organization?: + string +
        +
        +

        + ID or name of the organization to use when authenticating a + user. When provided, the user will be authenticated using the + organization context. The organization ID will be present in + the access token payload. +

        +
        + +
        +
        + +
        + scope?: + string +
        +
        +

        Space-separated list of OAuth 2.0 scopes being requested

        +
        +
        +
        + +

        + Subject to API authorization policies configured in Auth0 +

        +
        +
        + +
        "openid profile email read:data write:data"
        +
        +
        +
        + +
        +
        + +
        + subject_token: + string +
        +
        +

        The opaque token value being exchanged for Auth0 tokens

        +
        +
        +
        + +
          +
        • + Must be validated in Auth0 Actions using strong + cryptographic verification +
        • +
        • Implement replay attack protection
        • +
        • + Recommended validation libraries: jose, + jsonwebtoken +
        • +
        +
        +
        + +
        "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
        +
        +
        +
        + +
        +
        + +
        + subject_token_type: + string +
        +
        +

        The type identifier for the subject token being exchanged

        +
        +
        +
        + +
          +
        • + Must be a namespaced URI under your organization's control +
        • +
        • + Forbidden patterns: +
            +
          • + ^urn:ietf:params:oauth:* (IETF reserved) +
          • +
          • + ^https://auth0\.com/* (Auth0 reserved) +
          • +
          • ^urn:auth0:* (Auth0 reserved)
          • +
          +
        • +
        +
        +
        + +
        "urn:acme:legacy-system-token"
        "https://api.yourcompany.com/token-type/v1" +
        +
        +
        + +
        +
        +
        +
        +
        + + +
        +
        +
        +
        + + diff --git a/docs/types/TokenEndpointResponse.html b/docs/types/TokenEndpointResponse.html new file mode 100644 index 00000000..433975da --- /dev/null +++ b/docs/types/TokenEndpointResponse.html @@ -0,0 +1,620 @@ + + + + + + TokenEndpointResponse | @auth0/auth0-angular + + + + + + + + + + + + +
        +
        + @auth0/auth0-angular + + + + +
          +
          +
          Preparing search index...
          +
          +
          + +
          +
          +
          +
          +
          + +

          Type Alias TokenEndpointResponse

          +
          +
          + type + TokenEndpointResponse + = + {
              access_token: + string;
              expires_in: + number;
              id_token: + string;
              refresh_token?: + string;
              scope?: + string;
              token_type: + string;
          } +
          + +
          +
          +
          + + +
          Index
          +
          + +
          +
          +
          +
          + + +

          Properties

          +
          +
          +
          + +
          + access_token: + string +
          + +
          +
          + +
          + expires_in: + number +
          + +
          +
          + +
          + id_token: + string +
          + +
          +
          + +
          + refresh_token?: + string +
          + +
          +
          + +
          + scope?: + string +
          + +
          +
          + +
          + token_type: + string +
          + +
          +
          +
          +
          +
          + + +
          +
          +
          +
          + + diff --git a/docs/variables/Auth0ClientService.html b/docs/variables/Auth0ClientService.html index e9b6e42b..966dd21b 100644 --- a/docs/variables/Auth0ClientService.html +++ b/docs/variables/Auth0ClientService.html @@ -102,7 +102,7 @@

          Variable Auth0ClientServiceConst

        • Defined in projects/auth0-angular/src/lib/auth.client.ts:29
        • diff --git a/docs/variables/AuthConfigService.html b/docs/variables/AuthConfigService.html index 2fccab96..e1159ac6 100644 --- a/docs/variables/AuthConfigService.html +++ b/docs/variables/AuthConfigService.html @@ -127,7 +127,7 @@