ai icon indicating copy to clipboard operation
ai copied to clipboard

Add wider support for `fetch` parameters including `credentials`

Open jorilallo opened this issue 1 year ago • 1 comments

Currently only additional headers are allowed to be passed to fetch alongside the URL. Unfortunately it's not possible to utilize cookie based authentication with credentials option so I would love to see ability to pass other options for fetch.

jorilallo avatar Jun 19 '23 07:06 jorilallo

Sounds good to add a credentials field to all the hooks, PR welcomed!

shuding avatar Jun 19 '23 07:06 shuding

Fixed in #222

MaxLeiter avatar Jun 30 '23 17:06 MaxLeiter