Steam Login / Authentication Plugin

Hello @def

I think your plugin broke with the discourse 5 patch regarding Font Awesome 5.
The page is broken with the error

Undefined variable: “$fa-var-steam”.\A on line 7 of plugins/discourse-steam-login/auto_generated/plugin_80b807a32d0970c9f414b0eec9dd64acc9fd9c4c.css\A >> content: $fa-var-steam;\A -------------^\A ’

EDIT: After I commented it out in the app.yml and rebuild, the forum worked again.

2 Likes

I’ve updated the plugin to fix the FA5 issue (commit).

8 Likes

Hi. Thank you guys for working on this!
Is it possible to change the button text somehow? I’d like to replace ‘with’ with the Portuguese translation to keep consistent with my other social logins.
I couldn’t find a way to override the string in the admin dashboard.

If you’re referring to this text, it won’t be found in Admin

A quick but dirty approach would be to fork the plugin and edit the text in the plugin.rb file. Forking can generally be a bad idea because it essentially becomes your own plugin to maintain, but until / unless the plugin becomes internationalized it should “work”.

3 Likes

Yes, I meant that text! I think if I’m about to work on it, it might as well be helpful to others. Would it be hard to provide i18n support for this plugin?

Better even: do a PR that internationalyze the plugin :wink:

1 Like

I’ve just released a new version of this plugin that makes it more compatible with the current Discourse code base. The steam web api key is configured via site settings and all text are translatable now.

12 Likes

Are there any new features with this change other than changing the token?

What are the features you have in mind?

1 Like

Hi. I used the previous installation method to work normally, but now I will use the new method and the account verification will fail. I need your help.

Thank you very much!

Translation: Sorry, an error occurred while verifying your account. Maybe you have not approved the authorization application?

The error message in the URL (connection_failed) imply that either browser or server can’t connect to the Steam service.

Since you appear to be in China, do Steam work normally there? Or they use a different domain, like most services?

1 Like

Ok, maybe I should continue to check the availability of the server connection Steam. Thank you for your help! :sweat_smile:

1 Like
  • Be able to associate and disassociate a steam account to a user.
  • Show steam profile in user profile.
1 Like