Jump to content
McKay Development

How to use the login function of steam-user package if I am logging a user through open-id ?


Daastan2k
 Share

Recommended Posts

I have tried out the node-steam-user and node-globaloffensive  package but I've logged in manually till now using username and password. Now I'm changing the manual login method to O-Auth/openid just like the "login with steam" feature on this site.

Is there a way to use the logOn function of node-steam-user package by using the result obtained from the o-auth login. Because as far as I know, o-auth login only provide some profile info and steam ID. But I don't think that will be enough for the lognOn function to log in. My main goal is to login the user through steam and extract it's profile information obtained from node-steam-user and node-globaloffensive packages. But many functions in both packages, specially the node-globaloffensive package functions require to call the logOn function first and connect to game cordinator.

Thankyou in advance for the help

Link to comment
Share on other sites

So I won't be able to use the above packages if I use the open-id login ? If no then is there any other option to get user's stats like competitve rank etc. One that your packages are providing and can't get from steam's public api ? Because I've seen some sites displaying player's stats after logging in through steam.

Link to comment
Share on other sites

Posted (edited)

Ok thanks a lot for the replies. Just one thing. If I let players login to their steam account using the traditional username password way on my site, is it ok to do so? Maybe if we add terms that we won't be saving your password etc. Am I allowed to do so ?

Edited by Daastan2k
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...