Giter Site home page Giter Site logo

Comments (4)

eng-Arnold07 avatar eng-Arnold07 commented on August 14, 2024 1

the google cloud url is set correctly and the error still persists

from next-blog.

karshdev avatar karshdev commented on August 14, 2024

check your google cloud and url is http://localhost:3000/api/auth/callback/google
check if its right

from next-blog.

eng-Arnold07 avatar eng-Arnold07 commented on August 14, 2024
Screenshot 2023-10-05 at 15 41 21

this is the type error i am getting in my terminal. i have failed to find a way to fix it. i think its the one causing the causing the console error and failure to login a user. i have checked and rechecked the login file and the providers and everything seems to be in place. please help. here is the link to my repository: https://github.com/eng-Arnold07/blogging-app

from next-blog.

0xrishavsharma avatar 0xrishavsharma commented on August 14, 2024

@eng-Arnold07 I hope you have solved this issue. I was also stuck with the same problem. I have solved mine, posting the solution here so you or other can learn from my mistake.

I folder structure was incorrect, I mistakenly created the api folder directly inside src instead of creating it inside app folder. This is how the folder structure should look like:

image

from next-blog.

Related Issues (20)

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.