How to handle a Next.js token in a SwiftUI application?
Answered
Cuvier’s Dwarf Caiman posted this in #help-forum
Cuvier’s Dwarf CaimanOP
I want to use a Next.js-API in my iOS software. I am using JWTs and wonder how to "store" the
I don't know how http-only-cookies are "stored".
Thanks. 😉
token in an http-only cookie.I don't know how http-only-cookies are "stored".
Thanks. 😉
5 Replies
@Cuvier’s Dwarf Caiman I want to use a **Next.js-API** in my iOS software. I am using JWTs and wonder how to "store" the `token` in an http-only cookie.
I don't know how http-only-cookies are "stored".
Thanks. 😉
http-only cookies are sent to the server and not sent to client
For storing, swiftUI must have good enough docs
@"use php" http-only cookies are sent to the server and not sent to client
Cuvier’s Dwarf CaimanOP
Thank you!
by
not to client, it can't be accessed by clientAnswer
@"use php" http-only cookies are sent to the server and not sent to client
If your issue is resolved, mark this message as a solution