openid / AppAuth-JS

JavaScript client SDK for communicating with OAuth 2.0 and OpenID Connect providers.
Apache License 2.0
975 stars 162 forks source link

Include error response body in thrown fetch errors #183

Open shadow-light opened 3 years ago

shadow-light commented 3 years ago

This fixes one of the issues in https://github.com/openid/AppAuth-JS/issues/120

pommelinho commented 2 years ago

For me this looks good. My project also relies on openid/AppAuth-JS. And i want to handle different token request errors separatly

Joni-Aaltonen commented 2 years ago

Also looking forward to this being merged 👍