Created
June 29, 2011 13:07
-
-
Save akinsgre/1053788 to your computer and use it in GitHub Desktop.
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
def authenticate_with_open_id(identifier = nil, options = {}, &block) #:doc: | |
raise "Test" | |
OpenID::Util.logger.info "Authenticating with open id" + identifier | |
identifier ||= open_id_identifier | |
if request.env[Rack::OpenID::RESPONSE] | |
complete_open_id_authentication(&block) | |
else | |
begin_open_id_authentication(identifier, options, &block) | |
end | |
end | |
LOG.... | |
Started POST "/2011/06/26/this-is-a-test-post/comments" for 127.0.0.1 at 2011-06-29 09:00:58 -0400 | |
Processing by CommentsController#index as HTML | |
Parameters: {"utf8"=>"✓", "authenticity_token"=>"iXzczoX+lhosYK60Rm36RuH0/GWSfwA0Dbaz1a4+zuA=", "comment"=>{"author"=>"http://akinsgre.myopenid.com/", "body"=>"test"}, "commit"=>"Add Comment", "year"=>"2011", "month"=>"06", "day"=>"26", "slug"=>"this-is-a-test-post"} | |
Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."slug" = 'this-is-a-test-post' | |
getting ready to commenthttp://akinsgre.myopenid.com/ | |
done with authenticate | |
Completed 401 Unauthorized in 120ms | |
Generated checkid_setup request to http://www.myopenid.com/server with assocication {HMAC-SHA1}{4e0b214e}{JZ4Wgg==} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment