solid-contrib / solid-auth-fetcher

A client library for authenticating with Solid
Other
2 stars 6 forks source link

trap and report login errors #16

Closed jeff-zucker closed 1 year ago

jeff-zucker commented 3 years ago

Traps and reports three kinds of errors when attempting to get a cookie:

I am assuming that a success returns 302.

josephguillaume commented 3 years ago

Looks good to me. Improves robustness/usability and only applies to getNodeSolidServerCookie, so it's something that won't be covered by other auth libraries.