Skip to content

Instantly share code, notes, and snippets.

@chuckwagoncomputing
Created May 1, 2013 23:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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