Giter Site home page Giter Site logo

Comments (16)

tacyarg avatar tacyarg commented on May 30, 2024

seems related to a fucked up response from steam..

from passport-steam.

BenjaminNeilDavis avatar BenjaminNeilDavis commented on May 30, 2024

I am having the same issue @graycatfromspace Any luck?

from passport-steam.

mluogh avatar mluogh commented on May 30, 2024

@BenjaminNeilDavis I had the problem because I was using the same API key twice, once on my prod machine and once on my dev machine.

from passport-steam.

FelikZ avatar FelikZ commented on May 30, 2024

Fixed by adding missing middleware:

  app.use(passport.initialize());
  app.use(passport.session());

from passport-steam.

meitinglei avatar meitinglei commented on May 30, 2024

I have the same issue,can't fixed

from passport-steam.

FelikZ avatar FelikZ commented on May 30, 2024

@meitinglei try to use passport middleware AFTER all other express middlewares.

from passport-steam.

luop90 avatar luop90 commented on May 30, 2024

This issue is still occurring. It seems to happen at random, because some times users can login, and other times they can't.

from passport-steam.

tobbbles avatar tobbbles commented on May 30, 2024

@luop90 are you still having this issue?

(Will close if no response within a week of this.)

from passport-steam.

aidenwallis avatar aidenwallis commented on May 30, 2024

I found out what the issue is, there's something wrong with a dependency inside, passport-openid, downgrade it and place it inside the passport-steam and it should fix it! :)

from passport-steam.

luop90 avatar luop90 commented on May 30, 2024

@mnzt Yes. In fact, it got so bad, I switched to everyauth because I couldn't get this one to work more then 10% of the time.

from passport-steam.

tobbbles avatar tobbbles commented on May 30, 2024

@luop90 express js irrelevant to this. Closing.

from passport-steam.

luop90 avatar luop90 commented on May 30, 2024

I edited my comment to everyauth, "express" was a typo... W/e

from passport-steam.

aidenwallis avatar aidenwallis commented on May 30, 2024

I found the issue, I got mine to work finally, it doesn't seem as if you can use a database with it. As weird as it sounds, I just store a class in cookies in a MongoStore now, as it seems to work great now. And use the same passport and passport-steam version as in the example site. It all works great for me now! I'm not too fussed about storing it in a cookie, as it's not accessible to the user and the cookie is httpOnly and secure

from passport-steam.

tobbbles avatar tobbbles commented on May 30, 2024

@aidenwallis I've personally used this package with a database, what you do with the data shouldn't cause an error with the package at all, just an error with how you're handling it.

from passport-steam.

aidenwallis avatar aidenwallis commented on May 30, 2024

I don't know, all I know is when I stopped it from adding users to a database everything works great. But it's not too big of a worry with my site so I'm just going to keep it this way, I literally just manipulated the example to use mongoose with no luck, so after using no database it seems to work.

from passport-steam.

tobbbles avatar tobbbles commented on May 30, 2024

@aidenwallis certainly sounds like a problem external to passport-steam.

At least you've got something to work out for you :).

from passport-steam.

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.