3 ms·
Disclosure: I work for a competitor of Stytch, FusionAuth. First, I'm sorry you felt you had to post this on HN to both alert users and not be retaliated again
by mooreds 4y ago
Disclosure: I work for a competitor of Stytch, FusionAuth.
First, I'm sorry you felt you had to post this on HN to both alert users and not be retaliated against. I wish you'd had an avenue to disclose the issues less publicly. This would allow the company to fix them and not put their customers at risk.
I think every company, and certainly every auth company, should welcome security issue reporting, as well as take other steps like regularly paying for pen testing. We do ( https://fusionauth.io/security https://fusionauth.io/security ).
However, I haven't looked at how Stytch implemented PKCE, but it can provide CSRF protection in some scenarios.
The bigger picture is that this is just another reason to not invent your own standards. Use options like OIDC and benefit from the hard won wisdom of others.
Other reading:
* https://datatracker.ietf.org/doc/html/draft-ietf-oauth-security-topics https://datatracker.ietf.org/doc/html/draft-ietf-oauth-secur... the OAuth Security BCP
* https://owasp.org/www-community/attacks/csrf https://owasp.org/www-community/attacks/csrf CSRF attack description
- lvh 4y agoThey did have such an avenue, they elected not to use it.