diff --git a/.version b/.version index fa49670c..02b6b4fd 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -v2.4.0 \ No newline at end of file +v2.4.1 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 1324aa2d..425962d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log +## [v2.4.1](https://github.com/auth0/auth0-angular/tree/v2.4.1) (2026-01-08) + +[Full Changelog](https://github.com/auth0/auth0-angular/compare/v2.4.0...v2.4.1) + +**Fixed** + +- fix: handle detailedResponse in HTTP interceptor (#731) [\#752](https://github.com/auth0/auth0-angular/pull/752) ([yogeshchoudhary147](https://github.com/yogeshchoudhary147)) + ## [v2.4.0](https://github.com/auth0/auth0-angular/tree/v2.4.0) (2025-12-23) [Full Changelog](https://github.com/auth0/auth0-angular/compare/v2.3.0...v2.4.0) diff --git a/docs/assets/highlight.css b/docs/assets/highlight.css index a58fd388..1f25b047 100644 --- a/docs/assets/highlight.css +++ b/docs/assets/highlight.css @@ -9,16 +9,16 @@ --dark-hl-3: #c586c0; --light-hl-4: #001080; --dark-hl-4: #9cdcfe; - --light-hl-5: #008000; - --dark-hl-5: #6a9955; - --light-hl-6: #0000ff; - --dark-hl-6: #569cd6; + --light-hl-5: #0000ff; + --dark-hl-5: #569cd6; + --light-hl-6: #0070c1; + --dark-hl-6: #4fc1ff; --light-hl-7: #267f99; --dark-hl-7: #4ec9b0; - --light-hl-8: #000000; - --dark-hl-8: #c8c8c8; - --light-hl-9: #0070c1; - --dark-hl-9: #4fc1ff; + --light-hl-8: #008000; + --dark-hl-8: #6a9955; + --light-hl-9: #000000; + --dark-hl-9: #c8c8c8; --light-hl-10: #098658; --dark-hl-10: #b5cea8; --light-code-background: #ffffff; diff --git a/docs/classes/AbstractNavigator.html b/docs/classes/AbstractNavigator.html index 1158fcee..b85d9aaf 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
  • @@ -184,19 +184,15 @@ location: Location_2Location @@ -241,7 +237,7 @@

  • Defined in projects/auth0-angular/src/lib/abstract-navigator.ts:11
  • @@ -330,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 a0eff6eb..d5070335 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 310eed1c..39f7e0c4 100644 --- a/docs/classes/AuthClientConfig.html +++ b/docs/classes/AuthClientConfig.html @@ -108,7 +108,7 @@

    -
    // app.module.ts
    // ---------------------------
    import { AuthModule, AuthClientConfig } from '@auth0/auth0-angular';

    // Provide an initializer function that returns a Promise
    function configInitializer(
    http: HttpClient,
    config: AuthClientConfig
    ) {
    return () =>
    http
    .get('/config')
    .toPromise()
    .then((loadedConfig: any) => config.set(loadedConfig)); // Set the config that was loaded asynchronously here
    }

    // Provide APP_INITIALIZER with this function. Note that there is no config passed to AuthModule.forRoot
    imports: [
    // other imports..

    HttpClientModule,
    AuthModule.forRoot(), //<- don't pass any config here
    ],
    providers: [
    {
    provide: APP_INITIALIZER,
    useFactory: configInitializer, // <- pass your initializer function here
    deps: [HttpClient, AuthClientConfig],
    multi: true,
    },
    ], +
    // app.module.ts
    // ---------------------------
    import { AuthModule, AuthClientConfig } from '@auth0/auth0-angular';

    // Provide an initializer function that returns a Promise
    function configInitializer(
    http: HttpClient,
    config: AuthClientConfig
    ) {
    return () =>
    http
    .get('/config')
    .toPromise()
    .then((loadedConfig: any) => config.set(loadedConfig)); // Set the config that was loaded asynchronously here
    }

    // Provide APP_INITIALIZER with this function. Note that there is no config passed to AuthModule.forRoot
    imports: [
    // other imports..

    HttpClientModule,
    AuthModule.forRoot(), //<- don't pass any config here
    ],
    providers: [
    {
    provide: APP_INITIALIZER,
    useFactory: configInitializer, // <- pass your initializer function here
    deps: [HttpClient, AuthClientConfig],
    multi: true,
    },
    ],
    @@ -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 7c45ec87..9a219a2d 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 51d6c900..611b3fa3 100644 --- a/docs/classes/AuthHttpInterceptor.html +++ b/docs/classes/AuthHttpInterceptor.html @@ -99,8 +99,8 @@

    Implements

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

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

  • Defined in projects/auth0-angular/src/lib/auth.interceptor.ts:48projects/auth0-angular/src/lib/auth.interceptor.ts:53
  • diff --git a/docs/classes/AuthModule.html b/docs/classes/AuthModule.html index dad740ef..93555902 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 dd683d47..a21e84ca 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:47
  • @@ -519,7 +519,7 @@

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