Comments (16)
seems related to a fucked up response from steam..
from passport-steam.
I am having the same issue @graycatfromspace Any luck?
from passport-steam.
@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.
Fixed by adding missing middleware:
app.use(passport.initialize());
app.use(passport.session());
from passport-steam.
I have the same issue,can't fixed
from passport-steam.
@meitinglei try to use passport middleware AFTER all other express middlewares.
from passport-steam.
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.
@luop90 are you still having this issue?
(Will close if no response within a week of this.)
from passport-steam.
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.
@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.
@luop90 express js irrelevant to this. Closing.
from passport-steam.
I edited my comment to everyauth, "express" was a typo... W/e
from passport-steam.
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.
@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.
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.
@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)
- Cant connect passport-steam with nest js HOT 1
- Dynamic return url HOT 3
- Passing state to steam & back HOT 4
- unauthorized
- Passport and React Native
- Send params with auth request
- Infinite redirect HOT 1
- Passing custom variable(s) to Steam HOT 1
- [QUESTION] Usage with NestJS and TypeScript HOT 2
- Potential vulnerability
- Consider using certified OpenID library HOT 2
- Unable to pass req.isAuthenticated() check in backend api HOT 3
- Failed to discover OP endpoint URL HOT 1
- Failed to discover OP endpoint URL
- User creation
- What I should do with Validate? HOT 2
- NEW EXPLOIT. Need to pass some token to return_url HOT 6
- [question] Help with Storing HOT 3
- InternalOpenIDError: Failed to verify assertion HOT 3
- InternalOpenIDError: Failed to discover OP endpoint URL HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from passport-steam.