react-oidc-context
react-oidc-context copied to clipboard
Crypto. Subtle
Dears I am using node v 20.xx , "react-router-dom": "^6.21.0", I got Oops... Crypto. Subtle is available only in secure contexts (HTTPS) when I deployed on server .
See https://developer.mozilla.org/en-US/docs/Web/API/Crypto/subtle, i guess you are using SSR? We probably have to add some code to handle that within oidc-client-ts. To avoid that you could use v2 of this and the oidc-client-ts libraries...
We probably have to add some code to handle that within oidc-client-ts.
Do you have any updates about this issue?
Same problem...
The Crypto.subtle https://developer.mozilla.org/en-US/docs/Web/API/Crypto/subtle is a cornerstone, there are no plans on changing that. Try to find a solution, which works for your. Either use localhost for development or setup a proxy...