Hello,
I am using Electron react boiler plate for making an app in safe network,
But while authentication an error window modal is opened Saying that
Unable to find Electron app at (safe:// “auth uri goes here”);
Can anybody help me?
I am using windows and npm
Are you on Windows or on Linux?
Windows…
hmmm - okay - what the error message sais is (i think) that your sysUri path is not set correctly
you need to install your app as handler for links that start with (sorry python code here):
‘safe-[your_app_id_encoded_as_base64]’
because after successful authentication the authenticator opens a link like:
‘safe-[your_app_id_encoded_as_base64]://authenticationGrantedHereIsTheEncodedAnswer’
by installing your app as handler for links that start with safe-[your_app_id_encoded_as_base64] your windows runs your program and just adds ‘authenticationGrantedHereIsTheEncodedAnswer’ as additional argument when executing it
ps: maybe this here helps you: Custom URI Schemes On Windows – Xojo Programming Blog Registering an Application to a URI Scheme (Windows) | Microsoft Learn
Thanks trying this…
This topic was automatically closed after 60 days. New replies are no longer allowed.