Commit Graph
1 Commits
Author SHA1 Message Date
Yinka AdedireandKamil Ogórek fd4a8c253b docs: Set cookie secure to false in SvelteKit if dev server is running. (#18459)
* Set cookie secure to false in SvelteKit if dev server is running.

oauth-with-pkce-flow-for-ssr.mdx

Set cookie secure to false in SvelteKit if dev server is running.
This fixes a Safari issue where cookie PKCE verification isn't set because Safari doesn't allow setting httpsOnly cookies on http connections even on local host.

* Update apps/docs/pages/guides/auth/server-side/oauth-with-pkce-flow-for-ssr.mdx

Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com>

---------

Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com>
2023-10-25 09:56:24 +00:00