Skip to content

Commit 1d13c7c

Browse files
docs: remove Angular version reference from provideAuth0 description
- Changed from 'For modern Angular applications (v19+)' to 'The recommended approach' - provideAuth0() works from Angular 15+, not just 19+ - Addresses PR feedback from @frederikprijck
1 parent 74a28ee commit 1d13c7c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Take note of the **Client ID** and **Domain** values under the "Basic Informatio
6464

6565
#### Static configuration
6666

67-
For modern Angular applications (v19+), use the functional `provideAuth0()` approach in your application configuration:
67+
The recommended approach is to use the functional `provideAuth0()` in your application configuration:
6868

6969
```ts
7070
import { ApplicationConfig } from '@angular/core';
@@ -84,7 +84,7 @@ export const appConfig: ApplicationConfig = {
8484
```
8585

8686
<details>
87-
<summary>Using NgModules (Legacy Approach)</summary>
87+
<summary>Using NgModules</summary>
8888

8989
If you're using NgModules, you can configure the SDK using `AuthModule.forRoot()`:
9090

@@ -143,7 +143,7 @@ export const appConfig: ApplicationConfig = {
143143
> :information_source: Any request made through an instance of `HttpClient` that got instantiated by Angular will use all configured interceptors, including our `AuthHttpInterceptor`. Because the `AuthHttpInterceptor` requires the existence of configuration settings, the request for retrieving those dynamic configuration settings should ensure it's not using any interceptors. In Angular, this can be done by manually instantiating `HttpClient` using an injected `HttpBackend` instance.
144144
145145
<details>
146-
<summary>Using NgModules (Legacy Approach)</summary>
146+
<summary>Using NgModules</summary>
147147

148148
Instead of using `AuthModule.forRoot` to specify auth configuration, you can provide a factory function using `APP_INITIALIZER` to load your config from an external source before the auth module is loaded, and provide your configuration using `AuthClientConfig.set`.
149149

0 commit comments

Comments
 (0)