diff --git a/.version b/.version index 4c83680f..62fd0835 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -v2.8.0 \ No newline at end of file +v2.8.1 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 45ae186c..d356ae80 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log +## [v2.8.1](https://github.com/auth0/auth0-angular/tree/v2.8.1) (2026-04-17) + +[Full Changelog](https://github.com/auth0/auth0-angular/compare/v2.8.0...v2.8.1) + +**Changed** + +- chore(deps): bump @auth0/auth0-spa-js from 2.11.0 to 2.19.2 [\#907](https://github.com/auth0/auth0-angular/pull/907) ([yogeshchoudhary147](https://github.com/yogeshchoudhary147)) + ## [v2.8.0](https://github.com/auth0/auth0-angular/tree/v2.8.0) (2026-03-31) [Full Changelog](https://github.com/auth0/auth0-angular/compare/v2.7.0...v2.8.0) diff --git a/docs/assets/hierarchy.js b/docs/assets/hierarchy.js index 61f9823f..cb07d12e 100644 --- a/docs/assets/hierarchy.js +++ b/docs/assets/hierarchy.js @@ -1,2 +1,2 @@ window.hierarchyData = - 'eJyVlMtOwzAQRf9l1gYa24mb7FBBCImXeIgFYmG508YitYPtrFD/HSUVyCUUh1Uk507OvTOefICzNnioXjgvCOOMsJl4JeBw1aAK2hoP1QewmegfRm4QKrizbdde2bU2t+1OQuBNmyVUNC8IdK6BCrQJ6FZSoT8Z6Y/rsGmAgGqk91BB8Muj/gNH30X9y1o3S4cGqheWsdctAZaxyMUFhkf7huZZh3ogTDNzqGyCp94Cjy1cLqSqMQHcif4dOS+HyHkZ8a6sks1DsE6ucR+d0fkXeiCgPxmJD1rYHWwJcF7sNdig0+rcOev+AsW6BGMvIhcZ4SUnOZ+TXAhSzCgpaEkEo310LrLIzKPeoO1C0kys+4+ZnA5XjJc8gl6v5D2+d9rhMgn+qU13O6fs51JNTTkST6DxeUQ77UKNJmgl+8uf5P0in0AUo5/GQhqFTTOhnb/I08RiRuPpae+1Wd/jyqGvh6VPT/FAzQQ2jTd1YY1BlR5krEszBIvzPXk8a217Y43CJGgkTtG220+PXwcF'; + 'eJyVlM1OwzAQhN9lz4YmtZ00uaGCEBJ/KiAOiIPlbhuL1A62c6r67iipQC5pcThFcmbzzex6swVrjHdQvjE2I5RxQpPinYDFVY3SK6MdlFugSdE9tNgglPBomra5NWulH5q9hMCH0ksopzwj0NoaSlDao10JiW4y0J9XflMDAVkL56AE75Zn3QfOfoq6l5WqlxY1lG805e87AjTlgYtr9M/mA/Wr8lVPGGfmVNkIT50FFlq4mQtZYQS4F/07cpb2kbM04N0aKeonb6xY4yE6nc6+0T0B3WQgPmlhf7AjwNjsoMEarZJX1hr7FyjURRgHEVlOCSsywnlCeF6QLGEkoynJKeuis5wGZp7VBk3ro2ZC3X/M8Gl/xViRBdC7lVjgZ6ssLqPg39p4t/mU/16qsSkH4hE0ngS0i9ZXqL2Sorv8Ud4R+QhiPvhpzIWWWNcj2nlEHidmCQunp5xTer3AlUVX9Usfn+KJmhFsGm7q3GiNMj7IUBdn5DTM9+LwsjHNvdESo6CBOEbb7b4ApJwHAw=='; diff --git a/docs/assets/main.js b/docs/assets/main.js index f831c885..32295a81 100644 --- a/docs/assets/main.js +++ b/docs/assets/main.js @@ -1565,13 +1565,9 @@ window.translations = { var i = 'expecting term, found nothing'; throw new t.QueryParseError(i, n.start, n.end); } - switch (s.type) { - case t.QueryLexer.TERM: - return t.QueryParser.parseTerm; - default: - var i = "expecting term, found '" + s.type + "'"; - throw new t.QueryParseError(i, s.start, s.end); - } + if (s.type === t.QueryLexer.TERM) return t.QueryParser.parseTerm; + var i = "expecting term, found '" + s.type + "'"; + throw new t.QueryParseError(i, s.start, s.end); } }), (t.QueryParser.parseTerm = function (e) { diff --git a/docs/classes/AbstractNavigator.html b/docs/classes/AbstractNavigator.html index 88f6c48b..dedec733 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 3b72befc..10d59e2d 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 7c16f957..552bb768 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:238
  • @@ -337,7 +337,7 @@

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

  • Defined in projects/auth0-angular/src/lib/auth.config.ts:249
  • diff --git a/docs/classes/AuthGuard.html b/docs/classes/AuthGuard.html index e6067004..c6266f69 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 9ff8122e..03e22d9f 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 3cab6480..d63c018a 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 c95d4183..40ad714d 100644 --- a/docs/classes/AuthService.html +++ b/docs/classes/AuthService.html @@ -121,7 +121,7 @@

    Implements

  • Defined in projects/auth0-angular/src/lib/auth.service.ts:51
  • @@ -543,7 +543,7 @@

  • Defined in projects/auth0-angular/src/lib/auth.service.ts:90
  • @@ -606,7 +606,7 @@

  • Defined in projects/auth0-angular/src/lib/auth.service.ts:169
  • @@ -1092,7 +1092,7 @@

  • Defined in projects/auth0-angular/src/lib/auth.service.ts:481
  • @@ -1265,7 +1265,7 @@

  • Defined in projects/auth0-angular/src/lib/auth.service.ts:460
  • @@ -1370,7 +1370,7 @@

  • Defined in projects/auth0-angular/src/lib/auth.service.ts:233
  • @@ -1440,7 +1440,7 @@

  • Defined in projects/auth0-angular/src/lib/auth.service.ts:242
  • @@ -1539,7 +1539,7 @@

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

  • Defined in projects/auth0-angular/src/lib/auth.service.ts:424
  • @@ -1772,7 +1772,7 @@

  • Defined in projects/auth0-angular/src/lib/auth.service.ts:381
  • @@ -1914,7 +1914,7 @@

  • Defined in projects/auth0-angular/src/lib/auth.service.ts:349
  • @@ -2038,7 +2038,7 @@

  • Defined in projects/auth0-angular/src/lib/auth.service.ts:192
  • @@ -2143,7 +2143,7 @@

  • Defined in projects/auth0-angular/src/lib/auth.service.ts:143
  • @@ -2240,7 +2240,7 @@

  • Defined in projects/auth0-angular/src/lib/auth.service.ts:218
  • @@ -2289,7 +2289,7 @@

  • Defined in projects/auth0-angular/src/lib/auth.service.ts:126
  • @@ -2389,7 +2389,7 @@

  • Defined in projects/auth0-angular/src/lib/auth.service.ts:440
  • diff --git a/docs/classes/AuthState.html b/docs/classes/AuthState.html index f9305e91..e75b6e23 100644 --- a/docs/classes/AuthState.html +++ b/docs/classes/AuthState.html @@ -98,7 +98,7 @@

    Class 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 8f087e5a..4d9f3636 100644 --- a/docs/classes/AuthenticationError.html +++ b/docs/classes/AuthenticationError.html @@ -100,7 +100,7 @@

    Class AuthenticationError

    -
    +

    Hierarchy (View SummaryClass ConnectError

    -
    +

    Hierarchy (View Summary) diff --git a/docs/classes/GenericError.html b/docs/classes/GenericError.html index de26749d..f4b750a9 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) diff --git a/docs/classes/MfaRequiredError.html b/docs/classes/MfaRequiredError.html index 8f74a4b2..7c7881fd 100644 --- a/docs/classes/MfaRequiredError.html +++ b/docs/classes/MfaRequiredError.html @@ -96,7 +96,7 @@

    Class MfaRequiredError

    -
    +

    Hierarchy (View SummaryClass MissingRefreshTokenError

    Error thrown when there is no refresh token to use

    -
    +

    Hierarchy (View SummaryClass PopupCancelledError

    Thrown when network requests to the Auth server fail.

    -
    +

    Hierarchy (View SummaryClass PopupTimeoutError

    -
    +

    Hierarchy (View SummaryClass TimeoutError

    -
    +

    Hierarchy (View Summary) diff --git a/docs/classes/UseDpopNonceError.html b/docs/classes/UseDpopNonceError.html index 020b7d26..2717dc13 100644 --- a/docs/classes/UseDpopNonceError.html +++ b/docs/classes/UseDpopNonceError.html @@ -96,7 +96,7 @@

    Class UseDpopNonceError

    -
    +

    Hierarchy (View SummaryIndexable

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

    Enumeration HttpMethodConst

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

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

    Enumeration ResponseType

    • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:371 + node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:413
    @@ -188,7 +188,7 @@

  • Defined in projects/auth0-angular/src/lib/functional.ts:17
  • diff --git a/docs/functions/authHttpInterceptorFn.html b/docs/functions/authHttpInterceptorFn.html index 30eac3c6..fe6a9613 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 42fc1da4..b5b6de15 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:37
  • diff --git a/docs/functions/provideAuth0.html b/docs/functions/provideAuth0.html index be286356..0e2a0ba7 100644 --- a/docs/functions/provideAuth0.html +++ b/docs/functions/provideAuth0.html @@ -171,7 +171,7 @@

    Hierarchy Summary

    +
    + +
    + sessionTransferTokenQueryParamName?: + string +
    +
    +

    + Query parameter name to extract the session transfer token + from for Native to Web SSO. +

    +

    + When set, the SDK automatically extracts the token from the + specified URL query parameter and includes it as + session_transfer_token in authorization requests. + This enables seamless single sign-on when users transition + from a native mobile application to a web application. +

    +

    + After extraction, the token is automatically removed from the + URL using window.history.replaceState() to + prevent accidental reuse on subsequent authentication + requests. +

    +

    + Default: undefined (feature + disabled) +

    +

    Common values:

    +
      +
    • + 'session_transfer_token' - Standard parameter + name +
    • +
    • 'stt' - Shortened version
    • +
    • Custom parameter name of your choice
    • +
    +

    + Set to undefined to disable automatic extraction + if you prefer to handle session transfer tokens manually. +

    +
    +
    +
    + +
    const auth0 = await createAuth0Client({
    domain: '<AUTH0_DOMAIN>',
    clientId: '<AUTH0_CLIENT_ID>',
    sessionTransferTokenQueryParamName: 'session_transfer_token'
    }); +
    +
    + +
    + @@ -1367,7 +1491,7 @@ screen_hint? + + session_transfer_token?
    +
    + +
    + session_transfer_token?: + string +
    +
    +

    + Session transfer token from a native application for Native to + Web SSO. When + sessionTransferTokenQueryParamName is set, this + is automatically extracted from the specified URL query + parameter if present. +

    +
    + + +
    > screen_hint + session_transfer_tokenInterface GetTokenSilentlyOptions
    • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:423 + node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:465
    @@ -363,7 +363,7 @@
    • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:434 + node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:476
    @@ -402,7 +402,7 @@

    Interface GetTokenWithPopupOptions

    >} -
    +

    Hierarchy (View Summary
    • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:470 + node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:512
    @@ -246,7 +246,7 @@

    Interface HttpInterceptorConfig

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

    Interface HttpInterceptorRouteConfig

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

    Indexable

    • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:694 + node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:736
    @@ -765,7 +765,7 @@

    Interface LogoutOptions

    >;
    } -
    +

    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:493 + node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:535
      @@ -496,7 +496,7 @@

      Interface PopupConfigOptions

      • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:387 + node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:429
      @@ -254,7 +254,7 @@

      Interface PopupLoginOptions

      >} -
      +

      Hierarchy (View Summary
      • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:385 + node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:427
      @@ -224,7 +224,7 @@

      Type Parameters

      • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:556 + node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:598
      @@ -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 Alias ApiRouteDefinition

    • Defined in projects/auth0-angular/src/lib/auth.config.ts:30
    • diff --git a/docs/types/ConnectAccountRedirectResult.html b/docs/types/ConnectAccountRedirectResult.html index 62c9ce7f..d9fe4eea 100644 --- a/docs/types/ConnectAccountRedirectResult.html +++ b/docs/types/ConnectAccountRedirectResult.html @@ -198,7 +198,7 @@

      Type Alias ConnectedAccount

    • Defined in projects/auth0-angular/src/lib/auth.config.ts:144
    • diff --git a/docs/types/TokenEndpointResponse.html b/docs/types/TokenEndpointResponse.html index ac91bd45..e53aba54 100644 --- a/docs/types/TokenEndpointResponse.html +++ b/docs/types/TokenEndpointResponse.html @@ -137,7 +137,7 @@

      Type Alias TokenEndpointResponse

      • Defined in - node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:657 + node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:699
      @@ -258,7 +258,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 05ae144c..308ef519 100644 --- a/docs/variables/AuthConfigService.html +++ b/docs/variables/AuthConfigService.html @@ -127,7 +127,7 @@