solid-node-client icon indicating copy to clipboard operation
solid-node-client copied to clipboard

Catching and throwing an exception when not a trusted app

Open javiergarber opened this issue 3 years ago • 2 comments

Hi, I'm doing a node app with the library, and there is no way of catching the exception thrown when the app is not added as "trusted application". You should consider catching the exception when using the solid-auth-fetcher and throwing a new exception when using the "login" method, for the users of the library to handle it. Thank you in advance

javiergarber avatar May 25 '21 12:05 javiergarber

Thanks much for your suggestion. I am looking at ways of not requiring the trusatedApp setting. If I can get that working, it won't be a problem since you won't have to set trustedApp at all. If I can't, I'll follow your suggestion and give a warning.

jeff-zucker avatar May 25 '21 15:05 jeff-zucker

Thank you so much, looking forward see your discoveries!

javiergarber avatar May 26 '21 08:05 javiergarber