IdentityModel / oidc-client-js

OpenID Connect (OIDC) and OAuth2 protocol support for browser-based JavaScript applications
Apache License 2.0
2.43k stars 841 forks source link

Setting Custom Headers for signoutRedirect #1244

Closed terencejeong closed 4 years ago

terencejeong commented 4 years ago

Hi there,

I have a question, I was hoping to set the Clear-Site-Data header when running UserManager.signoutRedirect.

I can see we can set custom query String parameters by passing an object to signoutRedirect({ foo: 'foo'})

Is it possible to set custom headers when calling signoutRedirect?

Thanks

brockallen commented 4 years ago

No sorry, as the API redirects the browser to the end session endpoint.

terencejeong commented 4 years ago

Thanks!