Checklist
Description
I use angular 15 and standalone components, especially for the app.component, so I don't have an app.module.
I added I JwtModule in the main.ts. There is no error, but nothing happens and the "Authorization" header is not visible
I use ionic 7, (angular 15) with capacitor 4 and "@auth0/angular-jwt": "^5.1.2",
Reproduction
content of main.ts file
[...]
function test(){
return 'ThisIsMyToken'
}
const jwtConfig: JwtConfig = {
tokenGetter: test,
allowedDomains: [environment.endpoint],
};
bootstrapApplication(AppComponent, {
providers: [
[...]
importProvidersFrom(
[...]
JwtModule.forRoot({config: jwtConfig})
),
[...]
],
});
Additional context
No response
angular-jwt version
5.1.2
Angular version
15
Which browsers have you tested in?
Chrome, Firefox
Checklist
Description
I use angular 15 and standalone components, especially for the app.component, so I don't have an app.module.
I added I JwtModule in the main.ts. There is no error, but nothing happens and the "Authorization" header is not visible
I use ionic 7, (angular 15) with capacitor 4 and "@auth0/angular-jwt": "^5.1.2",
Reproduction
content of main.ts file
Additional context
No response
angular-jwt version
5.1.2
Angular version
15
Which browsers have you tested in?
Chrome, Firefox