[nodebb-plugin-sso-steam] Steam/OpenID register/login


  • @a_5mith yeah. i did a fork and manually updated and it didn't work 😞


  • I haven't tried it myself but will check it out later today to see if it does work for me.

  • GNU/Linux Admin

    Only the first one (#6) is required, #7 is just a renaming of the module for cosmetic purposes.

    You can try to install my fork by running the following:

    $ npm install git+https://github.com/julianlam/nodebb-plugin-openid-steam.git
    

    If at a late date you want to uninstall it: npm unl nodebb-plugin-openid-steam, or just remove it from the ACP.


  • @julian appreciate the help, but not working. Running 0.43. Removed all previous versions. Then ran the npm command above. Clicking on Steam still takes to 404 error.

  • GNU/Linux Admin

    @shinyidol Just want to confirm it is installed: npm ls nodebb-plugin-openid-steam?


  • @julian i think so.

    [email protected]:~/nodebb# npm ls nodebb-plugin-openid-steam
    [email protected] /root/nodebb
    [email protected] extraneous (git+https://github.com/julianlam/nodebb-plugin-openid-steam.git#3c81e2c58720bd111d1949cadda1e602834616dc)
    npm ERR! extraneous: [email protected] /root/nodebb/node_modules/nodebb-plugin-openid-steam
    npm ERR! not ok code 0

  • GNU/Linux Admin

    @shinyidol Ugh, sorry about that, silly mistake. Please re-install.

    When you re-install and run npm ls on that package again, the git hash should be: ca32b1a6e87b0682572c2cbf4400a17e42e1f4a4


  • @julian Well that got the 404 resolved. i was able to add my steam key and save it. but no additional login option becomes available.

  • GNU/Linux Admin

    @shinyidol Once you save the steam key, a restart is required to load the new values into NodeBB πŸ™‚


  • @julian Thanks for the tips on installing the git version. Now the admin panel options work πŸ˜„

    @nanoVapor Is there a way to link existing accounts, eg Admins, to their steam account without having to reregister etc. It would be nice for existing users to link to their steam account, then use either their previously registered acc or their steam account for Auth/login. Sorry if this is already answered, and thanks for the Steam auth plugin, great job!

  • GNU/Linux Admin

    @Radon If your steam email matches the email you used to previously register on NodeBB, then the accounts should automatically merge...


  • @julian said:

    @Radon If your steam email matches the email you used to previously register on NodeBB, then the accounts should automatically merge...

    I thought the steam api couldn't give you e-mail information as the API is public. I don't see any e-mail checking in the source for the plugin either. Not to mention the fact that my steam e-mail and my user e-mail are identical anyway ( Even if my node bb account e-mail wasn't confirmed at the time ).

  • GNU/Linux Admin

    Mm... in that case, then it would be impossible at this point in time to detect the account association. At a later date, we may add in the ability to do so via the user profile page, though that is not currently a priority.


  • @julian Friend of mine managed to associate the steamID with his existing account by using redis-cli. I believe that all the editing could be done by the plugin author, it just needs to be involved a little more during the registration process and possibly add some items to the profile page to allow association. I don't think this is truly a NodeBB issue. Thanks for the reply though.


  • Friend of mine

    Hi πŸ˜„
    Well, there are actually quite a few issues with this plugin. If you set your steam nick to an account name already existing on the forum, your account gets created successfully. The username:uid and userslug:uid tables, however, get updated aswell, making a click on the profile of the original account redirect to yours and making them unable to login. (See https://github.com/igorprado/nodebb-plugin-openid-steam/issues/9)
    Similarly, you can't register if your steam nickname contains special characters and what if you don't want to use the steam name you have at the moment? Some people change their steam name like their underwear.

    I tried changing it so you get redirected to a new page where you enter your username and E-Mail address if you log in via steam as a new user. However, I have absolutely no experience in JavaScript and I started playing around with NodeBB today, so I couldn't figure out how to add the template properly and how to redirect to that. (And no idea where to go further, too… I'm probably not the right guy for this job, yet)

    Another issue is the one @Radon mentioned earlier, where there is no way to link your steam account with your account.
    Maybe add a little button to the profile? (Should be possible with filter:posts.custom_profile_info, maybe?)
    And probably a similar button for unlinking (which admins should be able to turn off, I guess)

  • Anime Lovers

    I am getting login errors after configuring steam api

    and after that when u click yes sign in i get

    Can u look into it . I need this plugin to work real bad for my gaming forum to work

    Here is the link http://dota2hub.net/login
    You can check it by yourself.

  • GNU/Linux Admin

    @Alankrit-Choudhary What's your domain name set to? What URL does it send you to?

    Edit: Seems to have logged me in alright πŸ‘

  • Anime Lovers

    This is the domain name it is set too
    asdffas.png

    It sends me to dota2hub.net/404

  • Anime Lovers

    @julian
    I see u have logged in alright.
    Some how my steam id is not able to login. 😞

    Edit: Created a different ID and i was able to login this is weird πŸ˜•


  • Hi everyone,

    I know it's been a long time, but I updated the plugin. Now it works with NodeBB 0.6.x.

    The official plugin is:

    I know it maybe remain a few problems with this plugin like special chars on steam nickname, I don't know how NodeBB is dealing with this. I'll try to keep a roadmap to this plugin.

    There are 2 plugins listed on NPM about nodebb steam plugin. One was depecrated in favor of the new plugin name. I'll try to update the README of this one. Is there anyway to put a warning message when users tries to install this plugin from NodeBB ACP? Maybe add a warning on package.json... Just a thought.


Suggested Topics

| | |

Β© 2014 – 2022 NodeBB, Inc. β€” Made in Canada.