Created
May 1, 2013 23:12
-
-
Save chuckwagoncomputing/5499115 to your computer and use it in GitHub Desktop.
Camping OpenID Fail Minimal
This file contains 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
Camping.goes :Test | |
module Test::Controllers | |
class Login < R '/' | |
def get | |
require 'openid' | |
@state.openid_request = Hash.new | |
oid_request = OpenID::Consumer.new(@state.openid_request, nil).begin(input.identity) | |
'You made it home.' | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment