Last active
August 29, 2015 13:57
-
-
Save nogweii/9363423 to your computer and use it in GitHub Desktop.
steam login plugin for discourse
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# name: discourse-steam | |
# about: VALVE's Steam login support for Discourse | |
# version: 0.0.1 | |
# authors: Colin Shea | |
auth_provider :title => 'with Steam', | |
:authenticator => Auth::OpenIdAuthenticator.new('steam','http://steamcommunity.com/openid', trusted: true), | |
:message => 'Authenticating with Steam (make sure pop up blockers are not enabled)', | |
:frame_width => 1000, # the frame size used for the pop up window, overrides default | |
:frame_height => 800 | |
# Discourse ships with Zocial, which includes a Steam icon already! | |
register_css <<CSS | |
.btn-social.steam { | |
background: #000; | |
color: #EFE; | |
} | |
.btn-social.steam:before { | |
content: "b"; | |
} | |
CSS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've created a complete Discourse Steam plugin available here