AxaFrance / oidc-client

Light, Secure, Pure Javascript OIDC (Open ID Connect) Client. We provide also a REACT wrapper (compatible NextJS, etc.).
MIT License
572 stars 151 forks source link

Passing extras like client_Secret in revoke(logout) call: service worker enabled #1297

Closed pgangwani closed 4 months ago

pgangwani commented 4 months ago

Issue and Steps to Reproduce

Due to missing client_secret in revoke call with service worker approach enabled, revoke calls for access_token & refresh_token fail which results in getting logout not working. When passed customized axios / fetch, it works.

Versions

7.15.4

Screenshots

Not working when: image image

Working when: image

Expected

There should extras options picked up like token_endpoint to pass in revoke_endpoint.

Actual

client_secret is not passed in revoke_endpoints call for access_token & refresh_token

Additional Details

pgangwani commented 4 months ago

1295 fixes this. Thanks to @guillaume-chervet