Displaying 1 result from an estimated 1 matches for "homescreen".
Did you mean:
compscreen
2008 May 19
6
Sample Code, quick simple openid auth
...end
else
# finish the auth here
response = OpenID::Consumer.new(@state,
nil).complete(input, this_url)
case response.status
when OpenID::Consumer::SUCCESS
@state.identity = response.identity_url.to_s
return redirect(R(HomeScreen))
when OpenID::Consumer::FAILURE
''The OpenID thing doesn\''t think you really are that
person, they said: '' + response.message
end
end
end
end
Then just point a form at /login with an input by the name of
openid_...