oidc-client: renewTokens is missing in new version 6.0.13

Issue and Steps to Reproduce

useOidc Hook doesnt have a renewTokens method. I need it for refresh token when getting 401 status code error

This hook should be merged in this PR https://github.com/AxaGuilDEv/react-oidc/pull/778

Versions

6.0.13

Screenshots

image

Expected

Expected to be exported in useOidc hook

Actual

Additional Details

  • Installed packages:

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (10 by maintainers)

Most upvoted comments

Hi @0ctav0 @NZainchkovskiy may I close this Pull Request? Thank you very much for the issue ans feedback 😃

Sure, yes. Thank you for your incredible work!

On monday

I will set up the method for your use case

No I have to. I can have situations when by some reason token becomes invalid, which this library can not detect in all possible situations, so I need to manualy renew token when getting 401 error.