Skip to content

Instantly share code, notes, and snippets.

@chuckwagoncomputing
Created May 1, 2013 23:12
Show Gist options
  • Save chuckwagoncomputing/5499115 to your computer and use it in GitHub Desktop.
Save chuckwagoncomputing/5499115 to your computer and use it in GitHub Desktop.
Camping OpenID Fail Minimal
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