You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are trying to use crypto in a browser if I understand that correctly. That is not possible as the NodeJS crypto module is a native module. There is no way to bundle it in your ViteJS app and run inside a browser.
You probably do not want to expose your SP keys to a (semi-)public frontend anyway.. you will need a backend…
sp.create_login_request_url with vitejs
Error: Uncaught TypeError: crypto.randomBytes is not a function
file: saml2.js
line 62: id = '_' + crypto.randomBytes(21).toString('hex');
Why? any solution?
Thanks.
The text was updated successfully, but these errors were encountered: