Set custom headers to angular-auth-oidc-client token/endsession calls

1.1k views Asked by At

I know you can add custom parameters to the authorize call as:

const parameters: any = { resource: "ABCD" };
this.oidcSecurity.setCustomRequestParameters(parameters);

How to add custom request headers? I am using response_type: 'code'. Nothing about this mentioned here https://www.npmjs.com/package/angular-auth-oidc-client Any help is appreciated. Thanks

1

There are 1 answers

0
FabianGosebrink On