Giter Club home page Giter Club logo

strapi-nextauth-template's Introduction

Hi there, I'm Osmar!

A passionate fullstack software developer from México. 🇲🇽

🔭 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]

osmarpb97

strapi-nextauth-template's People

Contributors

osmarpb97 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

strapi-nextauth-template's Issues

Cookie “next-auth.session-token” is ignored due to reaching max size limit

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.