Next.js Discord

Discord Forum

How to handle a Next.js token in a SwiftUI application?

Answered
Cuvier’s Dwarf Caiman posted this in #help-forum
Open in Discord
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 token in an http-only cookie.

I don't know how http-only-cookies are "stored".

Thanks. 😉
Answered by "use php"
by not to client, it can't be accessed by client
View full answer

5 Replies

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 client
Answer
@"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