netlify / gotrue

An SWT based API for managing users and issuing SWT tokens.
https://www.gotrueapi.org
MIT License
3.84k stars 285 forks source link

WIP: pass errors from webhooks to client #223

Open carlganz opened 4 years ago

carlganz commented 4 years ago

- Summary See discussion in #212

This is my first time making contribution with Golang so I appreciate your patience

- Test plan

Added test that validates if error message is passed along if it specified during webhook error. Had trouble creating test environment locally.

- Description for the changelog

Updated webhook to parse error messages and pass them to client

- A picture of a cute animal (not mandatory but encouraged) byron