sst / ion

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

AUTH SDK :Missing client_id in options.cookies in authorize endpoint #278

Closed TheKnightCoder closed 2 months ago

TheKnightCoder commented 3 months ago

https://github.com/sst/ion/blob/72fab0f5805e09c673cf781a4e5e2dc24fbd4750/sdk/js/src/auth/handler.ts#L283

https://github.com/sst/ion/blob/72fab0f5805e09c67jjjj3cf781a4e5e2dc24fbd4750/sdk/js/src/auth/handler.ts#L247

client_id is not added to the options.cookies which means its not included in the payload that is checked in the /token endpoint

TheKnightCoder commented 3 months ago

PR is here #310