sst / ion

SST v3
https://sst.dev
MIT License
1.97k stars 229 forks source link

fix post token and missing client_id #310

Closed TheKnightCoder closed 5 months ago

TheKnightCoder commented 5 months ago

fix for #277 and #278

change get /token to post /token and client_id is not added to cookies which means its not passed back in the payload in the /token endpoint and therefore if (payload.client_id !== form.get('client_id')) { cannot pass.

Checked sst/sst and following same logic