public
Created

Add OpenID identity

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
Sep 23 13:33:44 test 2011-09-23 13:33:44,152 DEBUG [birncommunity.credentials.views][MainThread] Registering credential from form
Sep 23 13:33:44 test 2011-09-23 13:33:44,156 DEBUG [birncommunity.credentials.utils][MainThread] no credential found for id https://www.google.com/accounts/o8/id
Sep 23 13:33:44 test 2011-09-23 13:33:44,157 DEBUG [birncommunity.credentials.views][MainThread] Configuring OpenID
Sep 23 13:33:44 test 2011-09-23 13:33:44,159 DEBUG [beaker.container][MainThread] data file /home/globusonline/globusonline/var/data/sessions/data/container_file/0/0e/0e4585d142b5542424611561f3bef816.cache
Sep 23 13:33:44 test 2011-09-23 13:33:44,161 INFO [pyramid_openid.view][MainThread] OpenID Field to search for: openid
Sep 23 13:33:44 test <14>2011-09-23 13:33:44,161 INFO [pyramid_openid.view][MainThread] OpenID URL supplied by user: https://www.google.com/accounts/o8/id
Sep 23 13:33:44 test 2011-09-23 13:33:44,162 INFO [pyramid_openid.view][MainThread] Store type to use: file
Sep 23 13:33:44 test 2011-09-23 13:33:44,162 INFO [pyramid_openid.view][MainThread] File Store Path: /home/globusonline/globusonline/var/data/sstore
Sep 23 13:33:44 test 2011-09-23 13:33:44,163 INFO [pyramid_openid.view][MainThread] Store: <openid.store.filestore.FileOpenIDStore object at 0xa95134c>
Sep 23 13:33:44 test 2011-09-23 13:33:44,294 INFO [pyramid_openid.view][MainThread] ax_required: {'email': 'http://schema.openid.net/contact/email'}
Sep 23 13:33:44 test 2011-09-23 13:33:44,295 INFO [pyramid_openid.view][MainThread] ax_optional: {}
Sep 23 13:33:44 test 2011-09-23 13:33:44,296 INFO [pyramid_openid.view][MainThread] sreg_required: []
Sep 23 13:33:44 test 2011-09-23 13:33:44,296 INFO [pyramid_openid.view][MainThread] sreg_optional: []
Sep 23 13:33:44 test <15>2011-09-23 13:33:44,298 DEBUG [root][MainThread] Generated checkid_setup request to https://www.google.com/accounts/o8/ud with assocication AOQobUeS7HTU9E60syjWpx44VHLRvtgpWcPxDewkX99I8otnFJsR5MAT
Sep 23 13:33:44 test 2011-09-23 13:33:44,298 INFO [pyramid_openid.view][MainThread] Realm Name: https://test.globuscs.info
Sep 23 13:33:44 test 2011-09-23 13:33:44,299 INFO [pyramid_openid.view][MainThread] Return URL from provider will be: https://test.globuscs.info/verify_openid
Sep 23 13:33:44 test 2011-09-23 13:33:44,299 INFO [pyramid_openid.view][MainThread] Redirecting to: https://www.google.com/accounts/o8/ud?openid.assoc_handle=AOQobUeS7HTU9E60syjWpx44VHLRvtgpWcPxDewkX99I8otnFJsR5MAT&openid.ax.mode=fetch_request&openid.ax.required=ext0&openid.ax.type.ext0=http%3A%2F%2Fschema.openid.net%2Fcontact%2Femail&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.mode=checkid_setup&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.ns.ax=http%3A%2F%2Fopenid.net%2Fsrv%2Fax%2F1.0&openid.realm=https%3A%2F%2Ftest.globuscs.info&openid.return_to=https%3A%2F%2Ftest.globuscs.info%2Fverify_openid%3Fjanrain_nonce%3D2011-09-23T13%253A33%253A44ZqLW6Bt
Sep 23 13:33:44 test uwsgi: [pid: 32589|app: 0|req: 54/70] 127.0.0.1 () {50 vars in 2146 bytes} [Fri Sep 23 13:33:44 2011] POST /users/mattias/credentials/openid => generated 0 bytes in 155 msecs (HTTP/1.0 302) 3 headers in 787 bytes (1 switches on core 0)
Sep 23 13:33:44 test 2011-09-23 13:33:44,469 INFO [pyramid_openid.view][MainThread] OpenID Field to search for: openid
Sep 23 13:33:44 test 2011-09-23 13:33:44,470 INFO [pyramid_openid.view][MainThread] Store type to use: file
Sep 23 13:33:44 test 2011-09-23 13:33:44,470 INFO [pyramid_openid.view][MainThread] File Store Path: /home/globusonline/globusonline/var/data/sstore
Sep 23 13:33:44 test 2011-09-23 13:33:44,470 INFO [pyramid_openid.view][MainThread] Store: <openid.store.filestore.FileOpenIDStore object at 0xa94bc8c>
Sep 23 13:33:44 test 2011-09-23 13:33:44,474 DEBUG [beaker.container][MainThread] data file /home/globusonline/globusonline/var/data/sessions/data/container_file/0/0e/0e4585d142b5542424611561f3bef816.cache
Sep 23 13:33:44 test 2011-09-23 13:33:44,478 DEBUG [root][MainThread] Error attempting to use stored discovery information: <openid.consumer.consumer.TypeURIMismatch: Required type http://specs.openid.net/auth/2.0/signon not found in ['http://specs.openid.net/auth/2.0/server', 'http://openid.net/srv/ax/1.0', 'http://specs.openid.net/extensions/ui/1.0/mode/popup', 'http://specs.openid.net/extensions/ui/1.0/icon', 'http://specs.openid.net/extensions/pape/1.0'] for endpoint <openid.consumer.discover.OpenIDServiceEndpoint server_url='https://www.google.com/accounts/o8/ud' claimed_id=None local_id=None canonicalID=None used_yadis=True >>
Sep 23 13:33:44 test 2011-09-23 13:33:44,478 DEBUG [root][MainThread] Attempting discovery to verify endpoint
Sep 23 13:33:44 test <15>2011-09-23 13:33:44,478 DEBUG [root][MainThread] Performing discovery on https://www.google.com/accounts/o8/id?id=AItOawnQQTwcqHvKzvj3O0kRb-3hnkegLxNiy4c
Sep 23 13:33:44 test <15>2011-09-23 13:33:44,526 DEBUG [root][MainThread] Received id_res response from https://www.google.com/accounts/o8/ud using association AOQobUeS7HTU9E60syjWpx44VHLRvtgpWcPxDewkX99I8otnFJsR5MAT
Sep 23 13:33:44 test 2011-09-23 13:33:44,625 INFO [pyramid_openid.view][MainThread] OpenID Info Status: success
Sep 23 13:33:44 test 2011-09-23 13:33:44,628 INFO [pyramid_openid.view][MainThread] OpenID login successful.
Sep 23 13:33:44 test 2011-09-23 13:33:44,628 INFO [pyramid_openid.view][MainThread] Callback for storing result: birncommunity.credential_views:success_callback
Sep 23 13:33:44 test uwsgi: Traceback (most recent call last):
Sep 23 13:33:44 test uwsgi: File "/usr/share/globusonline/current/birncommunity/__init__.py", line 230, in __call__
Sep 23 13:33:44 test uwsgi:
Sep 23 13:33:44 test uwsgi: return self.application(environ, start_response)
Sep 23 13:33:44 test uwsgi: File "/usr/share/globusonline/current/birncommunity/__init__.py", line 307, in __call__
Sep 23 13:33:44 test uwsgi:
Sep 23 13:33:44 test uwsgi: return self.application(environ, start_response)
Sep 23 13:33:44 test uwsgi: File "/usr/share/globusonline/current/birncommunity/__init__.py", line 249, in __call__
Sep 23 13:33:44 test uwsgi:
Sep 23 13:33:44 test uwsgi: response = self.application(environ, middle_response)
Sep 23 13:33:44 test uwsgi: File "/usr/share/globusonline/current/lib/python2.6/site-packages/pyramid/router.py", line 158, in __call__
Sep 23 13:33:44 test uwsgi:
Sep 23 13:33:44 test uwsgi: response = view_callable(context, request)
Sep 23 13:33:44 test uwsgi: File "/usr/share/globusonline/current/lib/python2.6/site-packages/pyramid_openid/view.py", line 68, in verify_openid
Sep 23 13:33:44 test uwsgi:
Sep 23 13:33:44 test uwsgi: return process_provider_response(context, request)
Sep 23 13:33:44 test uwsgi: File "/usr/share/globusonline/current/lib/python2.6/site-packages/pyramid_openid/view.py", line 187, in process_provider_response
Sep 23 13:33:44 test uwsgi:
Sep 23 13:33:44 test uwsgi: return callback_function(context, request, success_dict)
Sep 23 13:33:44 test uwsgi: TypeError
Sep 23 13:33:44 test uwsgi: :
Sep 23 13:33:44 test uwsgi: 'NoneType' object is not callable
Sep 23 13:33:44 test uwsgi:
Sep 23 13:33:44 test uwsgi: [pid: 32589|app: 0|req: 55/71] 127.0.0.1 () {44 vars in 4103 bytes} [Fri Sep 23 13:33:44 2011] GET /verify_openid?janrain_nonce=2011-09-23T13%3A33%3A44ZqLW6Bt&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.mode=id_res&openid.op_endpoint=https%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fud&openid.response_nonce=2011-09-23T13%3A33%3A44ZR5wtrwj79uRiLw&openid.return_to=https%3A%2F%2Ftest.globuscs.info%2Fverify_openid%3Fjanrain_nonce%3D2011-09-23T13%253A33%253A44ZqLW6Bt&openid.assoc_handle=AOQobUeS7HTU9E60syjWpx44VHLRvtgpWcPxDewkX99I8otnFJsR5MAT&openid.signed=op_endpoint%2Cclaimed_id%2Cidentity%2Creturn_to%2Cresponse_nonce%2Cassoc_handle%2Cns.ext1%2Cext1.mode%2Cext1.type.ext0%2Cext1.value.ext0&openid.sig=HaC%2F%2B6XEpfiENTSTXXTQdCvGk5k%3D&openid.identity=https%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fid%3Fid%3DAItOawnQQTwcqHvKzvj3O0kRb-3hnkegLxNiy4c&openid.claimed_id=https%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fid%3Fid%3DAItOawnQQTwcqHvKzvj3O0kRb-3hnkegLxNiy4c&openid.ns.ext1=http%3A%2F%2Fopenid.net%2Fsrv%2Fax%2F1.0&openid.ext1.mode=fetch_response&openid.ext1.type.ext0=http%3A%2F%2Fschema.openid.net%2Fcontact%2Femail&openid.ext1.value.ext0=mattias.lidman%40gmail.com => generated 0 bytes in 162 msecs (HTTP/1.0 500) 0 headers in 0 bytes (0 switches on core 0)
Sep 23 13:33:51 test nginx: 2011/09/23 13:33:44 [error] 32639#0: *3272 upstream prematurely closed connection while reading response header from upstream, client: 127.0.0.1, server: test.globuscs.info, request: "GET /verify_openid?janrain_nonce=2011-09-23T13%3A33%3A44ZqLW6Bt&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.mode=id_res&openid.op_endpoint=https%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fud&openid.response_nonce=2011-09-23T13%3A33%3A44ZR5wtrwj79uRiLw&openid.return_to=https%3A%2F%2Ftest.globuscs.info%2Fverify_openid%3Fjanrain_nonce%3D2011-09-23T13%253A33%253A44ZqLW6Bt&openid.assoc_handle=AOQobUeS7HTU9E60syjWpx44VHLRvtgpWcPxDewkX99I8otnFJsR5MAT&openid.signed=op_endpoint%2Cclaimed_id%2Cidentity%2Creturn_to%2Cresponse_nonce%2Cassoc_handle%2Cns.ext1%2Cext1.mode%2Cext1.type.ext0%2Cext1.value.ext0&openid.sig=HaC%2F%2B6XEpfiENTSTXXTQdCvGk5k%3D&openid.identity=https%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fid%3Fid%3DAItOawnQQTwcqHvKzvj3O0kRb-3hnkegLxNiy4c&openid.claimed_id=https%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fid%3Fid%3DAItOawnQQTwcqHvKzvj3O0kRb-3hnkegLxNiy4c&openid.ns.ext1=http%3A%2F%2Fopenid.net%2Fsrv%2Fax%2F1.0&openid.ext1.mode=fetch_response&openid.ext1.type.ext0=http%3A%2F%2Fschema.openid.net%2Fcontact%2Femail&openid.ext1.value.ext0=mattias.lidman%40gmail.com HTTP/1.0", upstream: "uwsgi://unix:/var/run/globusonline/globusonline.socket:", host: "test.globuscs.info:5443", referrer: "https://test.globuscs.info/account/ManageIdentities"

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.