nextjs tag

2 questions


1 answers
314 views
0
How to access cookies in the Next.js API

Hello, I'm using Nexst.jsI'm a junior front-end developer.To access the DB APII also configured API for nextFailed to get the token value stored in the cookieI'd appreciate it if you could tell me how...

1 years ago

1 answers
329 views
0
Is CORS configuration the only CSRF countermeasure for Rails API x Next?

In the Rails API x Next configuration, we plan to use session cookies to manage the login status.In this case, just setting up CORS on the Rails API is enough to ensure CSRF countermeasures?If CORS is...


© 2024 OneMinuteCode. All rights reserved.