🔭 I’m currently working on STRAPI NEXT.JS AND NEXTAUTH
🌱 I’m currently learning GRAPHQL TYPESCRIPT
💬 Ask me about React, Next.js, Django, Nginx, LXD/LXD, Docker, Python, C ,C++, JS and any web-related stuff!. 📫 How to reach me [email protected]
Implementation of a local authentication system with using Strapi Next.js Framework and NextAuth
🔭 I’m currently working on STRAPI NEXT.JS AND NEXTAUTH
🌱 I’m currently learning GRAPHQL TYPESCRIPT
💬 Ask me about React, Next.js, Django, Nginx, LXD/LXD, Docker, Python, C ,C++, JS and any web-related stuff!. 📫 How to reach me [email protected]
As of now it only returns username, name, email and image. How to return the full object I created on Strapi?
Hello Mr.Osmar
I beg your pardon for reaching you throw the issues of this project out of nowhere just to seek help, but i tried to mail you on your previewed email in your profile and reached a dead-end,hopefully, you might help me with the problem I faced.
In your repository strapi-nextauth-template, you integrated Next-Auth with Strapi Jwt and used the local Starpi Postgres database o be able to keep persistent the accounts of users, but in my Next-js Strapi web application I separated the front-end from the back-end into different repositories and deployed the Strapi back-end to Heroku, so I took the connection string to the Postgres database that is located in Heroku , then I assigned it to the database property in [...nextauth.js] file, the site worked fine until I got this error ( Set-Cookie header is ignored in response from URL: http://localhost:3000/api/auth/callback/credentials?. Cookie length should be less than or equal to 4096 characters )
I discoverer that there was no connection, so when I deleted the database property in [...nextauth.js] the site did not throw any error and worked with Strapi Jwt storing in the Cookie “next-auth.session-token” but it says that it reached its max size, then the login page redirects you to the login page, not allowing you to sign in to the site, I don't know why I surfed the internet for a solution but there was not any resource that mentioned the same problem.
Thanx in advance for troubling you with reading my problem, I hope you can give some guidance
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.