sst / ion

❍ — a new engine for SST
https://ion.sst.dev
MIT License
1.19k stars 149 forks source link

fix: token as post method and missing client_id in cookies #279

Closed TheKnightCoder closed 3 months ago

TheKnightCoder commented 3 months ago

fix for #277 and #278

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