A error modal is opened while authentication through safe browser


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?




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):



because after successful authentication the authenticator opens a link like:


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: https://blog.xojo.com/2016/08/16/custom-uri-schemes-on-windows/ https://docs.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/platform-apis/aa767914(v=vs.85)

1 Like

Thanks trying this…