react-oidc-context 3.1.1 is a bugfix release. No longer using crypto-js package, but built-in browser crypto.subtle module. Crypto.subtle is available only in secure contexts (HTTPS). Also have a look into the migration info. Changelog: Fixes: #1357: memoize context value in auth-...
我在我的React Project中使用KeyCloak身份验证,并使用包装 react-oidc-context 和oidc-client-ts 。登录时身份验证和API请求在登录时可以很好地工作,因为访问令牌已正确检索和使用。 ,每当我刷新页面时,我都会遇到以下错误: No matching state found in storage 这个问题似乎与在会话之间或整个页面重新加载之间管理状态...
Lightweight auth library based on oidc-client-ts for React single page applications (SPA). Support for hooks and higher-order components (HOC). - memoize context value in auth-provider · Issue #1357 · authts/react-oidc-context