简体   繁体   中英

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM