From jan.aerts at bbsrc.ac.uk Mon Jan 7 02:35:59 2008
From: jan.aerts at bbsrc.ac.uk (Jan Aerts)
Date: Mon, 07 Jan 2008 10:35:59 +0000
Subject: ANN: ruby-openid-2.0.2
In-Reply-To: <1198300867.13234.595.camel@localhost>
References: <1198300867.13234.595.camel@localhost>
Message-ID: <1199702159.7580.17.camel@rilxvm05>
Thanks Kevin.
I'm happy to inform you that the examples/discover script *does* work
now. That's a relief...
Minor issue: line 5 of examples/discover had to be changed from
OpenID::fetcher_use_env_proxy
to
OpenID::fetcher_use_env_http_proxy
Something like that always pops up after releasing :-)
jan.
On Fri, 2007-12-21 at 21:21 -0800, Kevin Turner wrote:
> ruby-openid 2.0.2 is now available.
>
> In this release:
>
> * Corrections to some error handling in IdRes. (If you got tracebacks
> about an undefined ProtocolError or ProrocolError, this should be fixed
> now.)
>
> * Updated documentation for the rails-openid example.
>
> * Support for HTTP proxies.
>
> * A fix to the ActiveRecord migration from 1.1.x versions.
>
> http://openidenabled.com/ruby-openid/
>
> Happy Solstice,
>
> - Kevin and JanRain
>
>
> p.s. congratulations to Misters Glover and Daugherty for their win in
> today's JanRain Seasonal Foosball Tournament.
>
>
> _______________________________________________
> Dev mailing list
> Dev at lists.openidenabled.com
> http://lists.openidenabled.com/mailman/listinfo/dev
--
Dr Jan Aerts
Bioinformatics Group
Roslin Institute
Roslin EH25 9PS
Scotland, UK
tel: +44 131 527 4198
----...and the obligatory disclaimer----
Roslin Institute is a company limited by guarantee, registered in
Scotland (registered number SC157100) and a Scottish Charity (registered
number SC023592). Our registered office is at Roslin, Midlothian, EH25
9PS. VAT registration number 847380013.
The information contained in this e-mail (including any attachments) is
confidential and is intended for the use of the addressee only. The
opinions expressed within this e-mail (including any attachments) are
the opinions of the sender and do not necessarily constitute those of
Roslin Institute (Edinburgh) ("the Institute") unless specifically
stated by a sender who is duly authorised to do so on behalf of the
Institute.
From djimenez at politecnica.edu.co Wed Jan 9 15:57:54 2008
From: djimenez at politecnica.edu.co (=?ISO-8859-1?Q?Daniel_Jim=E9nez_Torres?=)
Date: Wed, 9 Jan 2008 18:57:54 -0500
Subject: Error 500
Message-ID: <1bc123b0801091557y21aeaed3g181b8a7097450152@mail.gmail.com>
Hello,
When i run /script/server, it works at all, but in apache I allways get
Error 500, can somebody help me
When I run ruby -d ./dispatch.fcgi from console i get
Please
Exception `LoadError' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27 - no such file to
load -- Win32API
Exception `LoadError' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:35 - no such file to
load -- Win32API
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27 - no such file to
load -- fast_xs
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:35 - no such file to
load -- fast_xs
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27 - no such file to
load -- utf8proc_native
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:35 - no such file to
load -- utf8proc_native
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/activesupport-
2.0.2/lib/active_support/dependencies.rb:499 - no such file to load --
utf8proc_native
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/activerecord/lib/active_record/migration.rb:233:
warning: instance variable @ignore_new_methods not initialized
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/activerecord/lib/active_record/migration.rb:233:
warning: instance variable @ignore_new_methods not initialized
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/activerecord/lib/active_record/attribute_methods.rb:8:
warning: `*' interpreted as argument prefix
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb:195:
warning: `*' interpreted as argument prefix
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb:202:
warning: `*' interpreted as argument prefix
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:41:
warning: method redefined; discarding old allow_concurrency=
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/actionpack/lib/action_controller/routing.rb:7:
warning: method redefined; discarding old to_param
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27 - no such file to
load -- securerandom
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:35 - no such file to
load -- securerandom
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/activesupport-
2.0.2/lib/active_support/dependencies.rb:499 - no such file to load --
securerandom
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/actionpack/lib/action_controller/cgi_ext/session.rb:44:
warning: method redefined; discarding old create_new_id
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/actionpack/lib/action_controller/cgi_ext/session.rb:51:
warning: method redefined; discarding old initialize
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27 - no such file to
load -- memcache
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:35 - no such file to
load -- memcache
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/activesupport-
2.0.2/lib/active_support/dependencies.rb:499 - no such file to load --
memcache
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27 - no such file to
load -- memcache
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:35 - no such file to
load -- memcache
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/activesupport-
2.0.2/lib/active_support/dependencies.rb:499 - no such file to load --
memcache
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/activesupport-
2.0.2/lib/active_support/core_ext/kernel/requires.rb:19 - no such file to
load -- memcache
Exception `DRb::DRbServerNotFound' at /usr/lib/ruby/1.8/drb/drb.rb:1650 -
DRb::DRbServerNotFound
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27 - no such file to
load -- memcache
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:35 - no such file to
load -- memcache
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/activesupport-
2.0.2/lib/active_support/dependencies.rb:499 - no such file to load --
memcache
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27 - no such file to
load -- memcache
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:35 - no such file to
load -- memcache
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/activesupport-
2.0.2/lib/active_support/dependencies.rb:499 - no such file to load --
memcache
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/activesupport-
2.0.2/lib/active_support/core_ext/kernel/requires.rb:19 - no such file to
load -- memcache
Exception `TypeError' at
/usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/core_ext/class/inheritable_attributes.rb:131
- can't dup TrueClass
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/actionpack/lib/action_controller/session/active_record_store.rb:182:
warning: method redefined; discarding old connection
(eval):1: warning: method redefined; discarding old headers
(eval):1: warning: method redefined; discarding old response
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/actionpack/lib/action_view/helpers/sanitize_helper.rb:103:
warning: ambiguous first argument; put parentheses or even spaces
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27 - no such file to
load -- bluecloth
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:35 - no such file to
load -- bluecloth
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/activesupport-
2.0.2/lib/active_support/dependencies.rb:499 - no such file to load --
bluecloth
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27 - no such file to
load -- bluecloth
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:35 - no such file to
load -- bluecloth
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/activesupport-
2.0.2/lib/active_support/dependencies.rb:499 - no such file to load --
bluecloth
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/activesupport-
2.0.2/lib/active_support/core_ext/kernel/requires.rb:19 - no such file to
load -- bluecloth
Exception `Gem::LoadError' at /usr/local/lib/site_ruby/1.8/rubygems.rb:251 -
Could not find RubyGem tmail (~> 1.1.0)
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27 - no such file to
load -- tmail/scanner_c.so
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:35 - no such file to
load -- tmail/scanner_c.so
Exception `MissingSourceFile' at /usr/lib/ruby/gems/1.8/gems/activesupport-
2.0.2/lib/active_support/dependencies.rb:499 - no such file to load --
tmail/scanner_c.so
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2
/examples/rails_openid/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-
1.1.0/tmail/net.rb:136: warning: method redefined; discarding old
create_reply
/usr/lib/ruby/gems/1.8/gems/text-format-1.0.0/lib/text/format.rb:229:
warning: method redefined; discarding old columns=
/usr/lib/ruby/gems/1.8/gems/text-format-1.0.0/lib/text/format.rb:244:
warning: method redefined; discarding old left_margin=
/usr/lib/ruby/gems/1.8/gems/text-format-1.0.0/lib/text/format.rb:259:
warning: method redefined; discarding old right_margin=
/usr/lib/ruby/gems/1.8/gems/text-format-1.0.0/lib/text/format.rb:274:
warning: method redefined; discarding old first_indent=
/usr/lib/ruby/gems/1.8/gems/text-format-1.0.0/lib/text/format.rb:290:
warning: method redefined; discarding old body_indent=
/usr/lib/ruby/gems/1.8/gems/text-format-1.0.0/lib/text/format.rb:328:
warning: method redefined; discarding old hyphenator=
/usr/lib/ruby/gems/1.8/gems/text-format-1.0.0/lib/text/format.rb:353:
warning: method redefined; discarding old split_rules=
/usr/lib/ruby/gems/1.8/gems/text-format-1.0.0/lib/text/format.rb:478:
warning: method redefined; discarding old tabstop=
/usr/lib/ruby/gems/1.8/gems/text-format-1.0.0/lib/text/format.rb:491:
warning: method redefined; discarding old format_style=
*******************************************************************
* config.breakpoint_server has been deprecated and has no effect. *
*******************************************************************
Exception `Gem::LoadError' at /usr/local/lib/site_ruby/1.8/rubygems.rb:251 -
Could not find RubyGem activerecord-sqlite3-adapter (>= 0.0.0)
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/activerecord/lib/active_record/observer.rb:35:
warning: instance variable @observers not initialized
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/actionpack/lib/action_controller/routing.rb:1281:
warning: instance variable @routes_last_modified not initialized
Exception `TypeError' at
/usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/core_ext/class/inheritable_attributes.rb:131
- can't dup TrueClass
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/actionpack/lib/action_controller/base.rb:426:
warning: instance variable @view_paths not initialized
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/activerecord/lib/active_record/observer.rb:35:
warning: instance variable @observers not initialized
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27 - no such file to
load -- openid
Exception `TypeError' at
/usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/core_ext/class/inheritable_attributes.rb:131
- can't dup TrueClass
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/actionpack/lib/action_controller/base.rb:426:
warning: instance variable @view_paths not initialized
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/actionpack/lib/action_controller/base.rb:426:
warning: instance variable @view_paths not initialized
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/actionpack/lib/action_controller/base.rb:645:
warning: instance variable @template not initialized
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/actionpack/lib/action_controller/base.rb:426:
warning: instance variable @view_paths not initialized
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/actionpack/lib/action_controller/base.rb:426:
warning: instance variable @view_paths not initialized
Exception `MissingSourceFile' at
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27 - no such file to
load -- sqlite3
/usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/lib/sqlite3_api.so: warning:
global variable `$swig_runtime_data_type_pointer2' not initialized
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:31:
warning: instance variable @query_cache_enabled not initialized
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid/vendor/rails/actionpack/lib/action_view/base.rb:418:
warning: instance variable @template_format not initialized
Content-Type: text/html; charset=utf-8
Set-Cookie:
Intento_session=BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%250ASGFzaHsABjoKQHVzZWR7AA%253D%253D--e4c36ab6d830154fd0303a573e8e1f12292615e0;
path=/
Status: 200 OK
X-Runtime: 0.01264
ETag: "e8acd1e6211c42d034c90028dcc6ecdd"
X-XRDS-Location: http://:/server/xrds
Cache-Control: private, max-age=0, must-revalidate
Content-Length: 2653
OpenID Server Example
Ruby OpenID Server Example
Welcome to the Ruby OpenID example. This code is a starting point
for developers wishing to implement an OpenID provider or relying
party. We've used the Rails
platform to demonstrate, but the library code is not Rails specific.
To use the example provider
Enter a username in the form above. You will be "Logged In"
to the server, at which point you may authenticate using an OpenID
consumer. Your OpenID URL will be displayed after you log
in.
The server will automatically create an identity page for
you at http://:/user/name
Because WEBrick can only handle one thing at a time, you'll need
to
run another instance of the example on another port if you want to use
a relying party to use with this example provider:
script/server --port=3001
(The RP needs to be able to access the provider, so unless you're
running this example on a public IP, you can't use the live example
at openidenabled.com on
your local provider.)
Point your browser to this new instance and follow the directions
below.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openidenabled.com/pipermail/dev/attachments/20080109/cbcf49a0/attachment-0001.htm
From support at openid.lt Thu Jan 10 09:31:01 2008
From: support at openid.lt (Audrius Karabanovas [OpenID Lithuania])
Date: Thu, 10 Jan 2008 19:31:01 +0200
Subject: About Attribute Exchange implementation
Message-ID: <47865655.2050006@openid.lt>
Hello, could anyone direct me to material where i can find example with
AX implementation on OP side?
currently using PHP 2.0.0 lib.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5621 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.openidenabled.com/pipermail/dev/attachments/20080110/23106d26/attachment.bin
From kevin at janrain.com Thu Jan 10 13:06:38 2008
From: kevin at janrain.com (Kevin Turner)
Date: Thu, 10 Jan 2008 13:06:38 -0800
Subject: Error 500
In-Reply-To: <1bc123b0801091557y21aeaed3g181b8a7097450152@mail.gmail.com>
References: <1bc123b0801091557y21aeaed3g181b8a7097450152@mail.gmail.com>
Message-ID: <1199999198.29794.262.camel@localhost>
On Wed, 2008-01-09 at 18:57 -0500, Daniel Jim?nez Torres wrote:
> When i run /script/server, it works at all, but in apache I allways
> get Error 500, can somebody help me
> When I run ruby -d ./dispatch.fcgi from console i get
[...]
> Status: 200 OK
This looks like it is successful, does it not? I see no cause for a 500
error in this output.
From djimenez at politecnica.edu.co Thu Jan 10 15:53:49 2008
From: djimenez at politecnica.edu.co (=?ISO-8859-1?Q?Daniel_Jim=E9nez_Torres?=)
Date: Thu, 10 Jan 2008 18:53:49 -0500
Subject: Error 500
In-Reply-To: <1199999198.29794.262.camel@localhost>
References: <1bc123b0801091557y21aeaed3g181b8a7097450152@mail.gmail.com>
<1199999198.29794.262.camel@localhost>
Message-ID: <1bc123b0801101553u12842814g4482c2ddf6dc9f@mail.gmail.com>
Hey, I change in config/boot.rb
this
root_path = File.join(File.dirname(__FILE__), '..')
to
root_path = '/var/lib/gems/1.8/gems/ruby-openid-2.0.2/examples/rails_openid'
also I notice the database info was wrong, and it worked,
buy now I am testing my server but when I verify my identity it returns
error 500
thanks.
Checking http://myserver.com/rubytest/user/Daniel
...
Fetching http://myserver.com/rubytest/user/Daniel
Yadis links found at
http://myserver.com/rubytest/user/Daniel.
Your server is at http://myserver.com/rubytest/server.
Requesting an association from http://myserver.com/rubytest/server
kvToSeq warning: Does not end in a newline: '\n\n\n
Application
error (Apache)
\n
Change this error message for exceptions thrown
outside of an action (like in Dispatcher setups or broken Ruby code) in
public/500.html
\n\n'
kvToSeq warning: Line 1 does not contain a colon: '\n\n\n
Application
error (Apache)
\n
Change this error message for exceptions thrown
outside of an action (like in Dispatcher setups or broken Ruby code) in
public/500.html
\n\n'
kvToSeq warning: In line 2, ignoring leading or trailing whitespace in key '
"http': '\n\n\n
Application
error (Apache)
\n
Change this error message for exceptions thrown
outside of an action (like in Dispatcher setups or broken Ruby code) in
public/500.html
\n\n'
kvToSeq warning: Line 3 does not contain a colon: '\n\n\n
Application
error (Apache)
\n
Change this error message for exceptions thrown
outside of an action (like in Dispatcher setups or broken Ruby code) in
public/500.html
\n\n'
kvToSeq warning: Line 4 does not contain a colon: '\n\n\n
Application
error (Apache)
\n
Change this error message for exceptions thrown
outside of an action (like in Dispatcher setups or broken Ruby code) in
public/500.html
\n\n'
kvToSeq warning: Line 5 does not contain a colon: '\n\n\n
Application
error (Apache)
\n
Change this error message for exceptions thrown
outside of an action (like in Dispatcher setups or broken Ruby code) in
public/500.html
\n\n'
kvToSeq warning: Line 6 does not contain a colon: '\n\n\n
Application
error (Apache)
\n
Change this error message for exceptions thrown
outside of an action (like in Dispatcher setups or broken Ruby code) in
public/500.html
\n\n'
kvToSeq warning: Line 7 does not contain a colon: '\n\n\n
Application
error (Apache)
\n
Change this error message for exceptions thrown
outside of an action (like in Dispatcher setups or broken Ruby code) in
public/500.html
\n\n'
kvToSeq warning: Line 8 does not contain a colon: '\n\n\n
Application
error (Apache)
\n
Change this error message for exceptions thrown
outside of an action (like in Dispatcher setups or broken Ruby code) in
public/500.html
\n\n'
openid.mode=associate: bad status code from server
http://myserver.com/rubytest/server: 500
Error in processing association: 'NoneType' object is unsubscriptable
2008/1/10, Kevin Turner :
>
> On Wed, 2008-01-09 at 18:57 -0500, Daniel Jim?nez Torres wrote:
> > When i run /script/server, it works at all, but in apache I allways
> > get Error 500, can somebody help me
> > When I run ruby -d ./dispatch.fcgi from console i get
> [...]
> > Status: 200 OK
>
> This looks like it is successful, does it not? I see no cause for a 500
> error in this output.
>
>
>
> _______________________________________________
> Dev mailing list
> Dev at lists.openidenabled.com
> http://lists.openidenabled.com/mailman/listinfo/dev
>
--
Desarrollador Junior 3D
Direcci?n de Tecnolog?as de la Informaci?n
Convenio Polit?cnica Nacional --- DOMO
llameme al (+57) 300 600 98 59
Skype at dfjimenezt
Gtalk dfjimenezto at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openidenabled.com/pipermail/dev/attachments/20080110/65d2e5eb/attachment.html
From amcowiti at bcm.tmc.edu Fri Jan 11 10:41:28 2008
From: amcowiti at bcm.tmc.edu (McOwiti, Apollo)
Date: Fri, 11 Jan 2008 12:41:28 -0600
Subject: Problem with consumer PHP API version 2.0.0-rc2
Message-ID: <43E659C9E2772A4CB179A9F17DBA4F2263A681@BCMEVS14.ad.bcm.edu>
I am using the PHP consumer libraries (version 2.0.0-rc2 also had
problems with 1.2.1 ).
Everything works fine (e.g with pip.verisign, myopenid openIDs ) but i have
not been able to authenticate any openID URL from www.vidoop.com and one from claimID (other claim ID ones
work). I get the following error about HTTP code not being returned:
*Warning*: No HTTP code returned in
/home/content/y/l/l/ylloo/html/170/Auth/Yadis/ParanoidHTTPFetcher.php*
on line *154*
*Fatal error*: Call to a member function getArg() on a non-object in
*/home/content/y/l/l/ylloo/html/Auth/OpenID/Consumer.php* on line *2001*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openidenabled.com/pipermail/dev/attachments/20080111/fe080e13/attachment-0001.html
From cygnus at janrain.com Fri Jan 11 11:06:51 2008
From: cygnus at janrain.com (Jonathan Daugherty)
Date: Fri, 11 Jan 2008 11:06:51 -0800
Subject: Problem with consumer PHP API version 2.0.0-rc2
In-Reply-To: <43E659C9E2772A4CB179A9F17DBA4F2263A681@BCMEVS14.ad.bcm.edu>
References: <43E659C9E2772A4CB179A9F17DBA4F2263A681@BCMEVS14.ad.bcm.edu>
Message-ID:
> I am using the PHP consumer libraries (version 2.0.0-rc2 also had
> problems with 1.2.1 ).
>
> Everything works fine (e.g with pip.verisign, myopenid openIDs ) but i
> have
> not been able to authenticate any openID URL from www.vidoop.com
> and one from claimID (other claim ID ones
> work). I get the following error about HTTP code not being returned:
>
> *Warning*: No HTTP code returned in
> /home/content/y/l/l/ylloo/html/170/Auth/Yadis/ParanoidHTTPFetcher.php*
> on line *154*
I'm able to authenticate cygnus.myvidoop.com against the demo PHP RP at
http://openidenabled.com/php-openid/trunk/examples/consumer/
Are you able to reproduce the problem repeatedly? Which version of
the library are you using?
--
Jonathan Daugherty
From cygnus at janrain.com Fri Jan 11 11:25:06 2008
From: cygnus at janrain.com (Jonathan Daugherty)
Date: Fri, 11 Jan 2008 11:25:06 -0800
Subject: Problem with consumer PHP API version 2.0.0-rc2
In-Reply-To: <43E659C9E2772A4CB179A9F17DBA4F2263A69D@BCMEVS14.ad.bcm.edu>
References:
<43E659C9E2772A4CB179A9F17DBA4F2263A69D@BCMEVS14.ad.bcm.edu>
Message-ID:
> I used the demo URL below and it authenticated http://apollo.myvidoop.com OK.
> My version 2.0.0-rc2 also had problems with 1.2.1
Have you tried the latest release of the library, 2.0.0? What do you
mean by "had problems with 1.2.1"?
--
Jonathan Daugherty
From cygnus at janrain.com Fri Jan 11 11:39:17 2008
From: cygnus at janrain.com (Jonathan Daugherty)
Date: Fri, 11 Jan 2008 11:39:17 -0800
Subject: Problem with consumer PHP API version 2.0.0-rc2
In-Reply-To: <43E659C9E2772A4CB179A9F17DBA4F2263A6A0@BCMEVS14.ad.bcm.edu>
References:
<43E659C9E2772A4CB179A9F17DBA4F2263A6A0@BCMEVS14.ad.bcm.edu>
Message-ID:
> (i)2.0.0: No. Is there a difference b/n that and 2.0.0-rc2?
> (ii)By 1.2.1: I meant the previous version.
> If there is a difference, I will download the new one and try
Yes, as a general rule, you should try running the latest stable
release. Give that a try and let me know how it goes!
--
Jonathan Daugherty
From kevin at janrain.com Fri Jan 11 17:44:44 2008
From: kevin at janrain.com (Kevin Turner)
Date: Fri, 11 Jan 2008 17:44:44 -0800
Subject: ANN: ruby-openid 2.0.3
Message-ID: <1200102284.6066.48.camel@localhost>
Hello,
We've released version 2.0.3 of ruby-openid. This release fixes bugs
relating to Attribute Exchange, XRIs with multiple segments, and rails
2.0 compatibility for our example. We've also updated the
display_identifier property of Consumer::Response to clean up
identifiers with fragments.[1]
Thanks to =masaki, Jan Aerts, and Brian Cardarella for their
contributions to this release, and apologies to losjr, for #94 didn't
make it in to this one.
Share and enjoy,
- Kevin and the other OpenID folks at JanRain.
p.s. My friendly neighborhood Ruby brigade has reminded me that Ruby 1.9
was released last month. Are you using Ruby 1.9 yet? Do you plan to
soon? Or is this going to be like a PHP 5.0 thing?
[1]
http://openidenabled.com/files/ruby-openid/docs/2.0.3/classes/OpenID/Consumer/Response.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://lists.openidenabled.com/pipermail/dev/attachments/20080111/020a0ac6/attachment.pgp
From rubys at intertwingly.net Fri Jan 11 18:23:23 2008
From: rubys at intertwingly.net (Sam Ruby)
Date: Fri, 11 Jan 2008 21:23:23 -0500
Subject: ANN: ruby-openid 2.0.3
In-Reply-To: <1200102284.6066.48.camel@localhost>
References: <1200102284.6066.48.camel@localhost>
Message-ID: <4788249B.3070001@intertwingly.net>
Kevin Turner wrote:
>
> p.s. My friendly neighborhood Ruby brigade has reminded me that Ruby 1.9
> was released last month. Are you using Ruby 1.9 yet? Do you plan to
> soon? Or is this going to be like a PHP 5.0 thing?
/me raises his hand
I can help. I've ported rexml, builder, and rake/contrib. I'm
currently working on xmpp4r. If there is interest, I can help with
openid next. For starters, Base64 is no more. Use ['foo'].pack('m')
and "Zm9v\n".unpack('m').first. It looks like hmac must be verified to
run on Ruby 1.9 first.
http://intertwingly.net/blog/2007/12/31/Porting-REXML-to-Ruby-1-9
http://intertwingly.net/blog/2008/01/04/Builder-on-1-9
http://intertwingly.net/blog/2008/01/07/Rake-Contrib-for-1-9
- Sam Ruby
From jason.young at extension.org Sun Jan 13 10:34:20 2008
From: jason.young at extension.org (Jason Young)
Date: Sun, 13 Jan 2008 13:34:20 -0500
Subject: ANN: ruby-openid 2.0.3
In-Reply-To: <1200102284.6066.48.camel@localhost>
References: <1200102284.6066.48.camel@localhost>
Message-ID:
On Jan 11, 2008, at 8:44 PM, Kevin Turner wrote:
>
> p.s. My friendly neighborhood Ruby brigade has reminded me that Ruby
> 1.9
> was released last month. Are you using Ruby 1.9 yet? Do you plan to
> soon? Or is this going to be like a PHP 5.0 thing?
I don't know that it's going to be a PHP 5 thing, but I imagine it's
going to be a "not running it any time soon thing" for most folks
The "Ruby Inside" blog called it a "development" release
http://www.rubyinside.com/ruby-19-is-released-680.html
(whatever that means, but it sounds scary ;-)
I haven't seen that label applied to it elsewhere, so I don't have
secondary confirmation of that, but if it's close to true, I seriously
doubt many distributions are going to have it anytime soon.
Not that it should preclude it working on both, but I would expect
there's going to be a lot of 1.8.5/1.8.6 shops for some time to come,
and not just the slackers.
Jason
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jason Young -- Systems Manager, eXtension
http://about.extension.org/wiki/Jason_Young
______________________________________
From rubys at intertwingly.net Sun Jan 13 16:40:03 2008
From: rubys at intertwingly.net (Sam Ruby)
Date: Sun, 13 Jan 2008 19:40:03 -0500
Subject: ANN: ruby-openid 2.0.3
In-Reply-To: <1200102284.6066.48.camel@localhost>
References: <1200102284.6066.48.camel@localhost>
Message-ID: <478AAF63.4080405@intertwingly.net>
Kevin Turner wrote:
>
> p.s. My friendly neighborhood Ruby brigade has reminded me that Ruby 1.9
> was released last month. Are you using Ruby 1.9 yet? Do you plan to
> soon? Or is this going to be like a PHP 5.0 thing?
Attached is a patch that works with Ruby 1.9 from SVN (revision 15006)
and REXML from SVN (revision 1301). Two fixes were required to REXML,
so the latest SVN is required there. These fixes will make the next
point release of 1.9 (currently scheduled for the end of February).
Three minor warning messages are produced running the tests reflecting
issues in net/https and webrick sources. I've notified the ruby-core
mailing list on that.
With the patch applied, the code continues to work on Ruby 1.8.6.
Elapsed times for admin/runtests is approximately 220 seconds for 1.8.6
and 103 seconds for 1.9. I expect Ruby 2.0 (the non-developer follow-on
to Ruby 1.9) to get a quick uptake for this reason, with many early
adoptors (including myself) switching over before then.
- Sam Ruby
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-openid-19.diff
Type: text/x-diff
Size: 16492 bytes
Desc: not available
Url : http://lists.openidenabled.com/pipermail/dev/attachments/20080113/f4b7e398/attachment-0001.bin
From julian_bond at voidstar.com Mon Jan 14 01:48:41 2008
From: julian_bond at voidstar.com (Julian Bond)
Date: Mon, 14 Jan 2008 09:48:41 +0000
Subject: PEAR
Message-ID:
Is there any progress in getting OpenID and YADIS into PHP PEAR?
--
Julian Bond E&MSN: julian_bond at voidstar.com M: +44 (0)77 5907 2173
Webmaster: http://www.ecademy.com/ T: +44 (0)192 0412 433
Personal WebLog: http://www.voidstar.com/ skype:julian.bond?chat
Geek The Vote
From cemkaan at gmail.com Mon Jan 14 02:26:17 2008
From: cemkaan at gmail.com (cem kaan kosali)
Date: Mon, 14 Jan 2008 12:26:17 +0200
Subject: PEAR
In-Reply-To:
References:
Message-ID:
It would be nice.
On Jan 14, 2008 11:48 AM, Julian Bond wrote:
> Is there any progress in getting OpenID and YADIS into PHP PEAR?
>
> --
> Julian Bond E&MSN: julian_bond at voidstar.com M: +44 (0)77 5907 2173
> Webmaster: http://www.ecademy.com/ T: +44 (0)192 0412 433
> Personal WebLog: http://www.voidstar.com/ skype:julian.bond?chat
> Geek The Vote
>
> _______________________________________________
> Dev mailing list
> Dev at lists.openidenabled.com
> http://lists.openidenabled.com/mailman/listinfo/dev
>
--
Cem Kaan Kosali
www.fotoyuz.biz
Kamuoyuna Sayg?yla Duyurulur.
?stanbul i?in Foto?raf Bask? Servisi.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openidenabled.com/pipermail/dev/attachments/20080114/1e2872ce/attachment.html
From bcardarella at gmail.com Mon Jan 14 10:00:10 2008
From: bcardarella at gmail.com (Brian Cardarella)
Date: Mon, 14 Jan 2008 13:00:10 -0500
Subject: Rails 2.0 w/ OpenID
Message-ID:
I've come across an issue when trying to adapt the ServerController
from the example to a Rails 2.0 (specifically 2.0.2) project. The
issue is with how Rails 2.0 handles sessions.
When the RP talks to the Server a default Rails 2.0 setup is expecting
an AuthenticityToken consistent with the project's setup. Unless this
token is properly provided OpenID will fail. (sometimes with a
"missing endpoint"... sometimes with Error: 422)
To get around this add the following to the ServerController:
protect_from_forgery :except => [:index, :decision]
This will tell the server to not expect an AuthenticityToken for those
methods. However, this might also stop those methods from having
access to the session... haven't tested that yet.
Now, if you are just connecting the Consumer to the Server in the same
project of Rails 2.0 you won't have this issue. It happens when you
are trying to have two separate projects (thus having 2 different
authenticity tokens) talk to one another.
I hope this helps anybody that's run into this issue....
- Brian
From me at arty.name Tue Jan 15 04:24:35 2008
From: me at arty.name (artemy tregoubenko)
Date: Tue, 15 Jan 2008 15:24:35 +0300
Subject: php: raw bytestrings vs. mb_string.func_overload and strlen
Message-ID: <9eb4f2590801150424q6237e1c4vb1549ef72da73bd7@mail.gmail.com>
Hello.
I use mb_string.func_overload in my utf-8 project. When I tried to
plug in openid consumer, I used gmp for bigmath, however I got timeout
errors in bigmath. Some research showed me that root of evil is
strlen() call in BigMath.php. It is used there to calculate length of
raw random bytestring. My mb_string.func_overload transparently
replaces strlen with mb_strlen, which gives great error on raw bytes.
As there may be more people with the same configuration, I attach
patch for this particular problem. However it only changes one file,
and there may be more code, working with raw bytes.
Hope this will make your great library even better! : )
--
arty ( http://arty.name )
-------------- next part --------------
A non-text attachment was scrubbed...
Name: revision7726.diff
Type: application/octet-stream
Size: 782 bytes
Desc: not available
Url : http://lists.openidenabled.com/pipermail/dev/attachments/20080115/2f676339/attachment.obj
From cygnus at janrain.com Tue Jan 15 11:24:56 2008
From: cygnus at janrain.com (Jonathan Daugherty)
Date: Tue, 15 Jan 2008 11:24:56 -0800
Subject: PEAR
In-Reply-To:
References:
Message-ID:
> Is there any progress in getting OpenID and YADIS into PHP PEAR?
For some information on the status of the openidenabled.com implementation,
http://lists.openidenabled.com/pipermail/dev/2007-March/000383.html
http://lists.openidenabled.com/pipermail/dev/2006-February/000032.html
and for some information regarding an effort by P?draic Brady,
http://pear.php.net/package/Services_Yadis
http://pear.php.net/pepr/pepr-proposal-show.php?id=500
Note that the one being proposed for inclusion in PEAR includes only
RP code and appears to lack tests.
--
Jonathan Daugherty
From bcardarella at gmail.com Tue Jan 15 11:26:57 2008
From: bcardarella at gmail.com (Brian Cardarella)
Date: Tue, 15 Jan 2008 14:26:57 -0500
Subject: Ruby Gem - message.rb enhancement proposal
Message-ID:
I cannot get this to test... the failure being produced doesn't make
sense to me. So that's why I'm not submitting via DARCS. Anyway, here
is a DIFF file. Please take this into consideration as I think it
might be useful.
Description:
to_form_markup Auto-Redirect
When the GET data limit is reached the OpenID gem will default to
sending the OpenID data via POST.
In order to do this an in-between page is generated with all OpenID
data set to hidden fields. A single
'submit' button appears on the page. This patch adds a tag with
javascript to submit the form
automatically when the page loads. This removes the step of having the
user interact with another page.
In the event that the javascript fails the submit button is still
shown on the page along with a short
note instructing the user to submit the form to continue.
Perhaps in the future it would be nice to somehow have the programmer
decide how this page is styled.
- Brian Cardarella
-------------- next part --------------
A non-text attachment was scrubbed...
Name: message.rb.diff
Type: text/x-patch
Size: 344 bytes
Desc: not available
Url : http://lists.openidenabled.com/pipermail/dev/attachments/20080115/e453452d/attachment.bin
From cygnus at janrain.com Tue Jan 15 11:26:59 2008
From: cygnus at janrain.com (Jonathan Daugherty)
Date: Tue, 15 Jan 2008 11:26:59 -0800
Subject: php: raw bytestrings vs. mb_string.func_overload and strlen
In-Reply-To: <9eb4f2590801150424q6237e1c4vb1549ef72da73bd7@mail.gmail.com>
References: <9eb4f2590801150424q6237e1c4vb1549ef72da73bd7@mail.gmail.com>
Message-ID:
> I use mb_string.func_overload in my utf-8 project. When I tried to
> plug in openid consumer, I used gmp for bigmath, however I got timeout
> errors in bigmath. Some research showed me that root of evil is
> strlen() call in BigMath.php. It is used there to calculate length of
> raw random bytestring.
Are you using a 1.x.x version of the library? The 2.0.0 release does
not use strlen() for this.
HTH,
--
Jonathan Daugherty
From atregoubenko at gmail.com Tue Jan 15 11:32:37 2008
From: atregoubenko at gmail.com (Artemy Tregoubenko)
Date: Tue, 15 Jan 2008 22:32:37 +0300
Subject: php: raw bytestrings vs. mb_string.func_overload and strlen
In-Reply-To:
References: <9eb4f2590801150424q6237e1c4vb1549ef72da73bd7@mail.gmail.com>
Message-ID:
>> I use mb_string.func_overload in my utf-8 project. When I tried to
>> plug in openid consumer, I used gmp for bigmath, however I got timeout
>> errors in bigmath. Some research showed me that root of evil is
>> strlen() call in BigMath.php. It is used there to calculate length of
>> raw random bytestring.
>
> Are you using a 1.x.x version of the library? The 2.0.0 release does
> not use strlen() for this.
Oh, that's great! Is it considered mature enough for production usage?
From cygnus at janrain.com Tue Jan 15 11:40:00 2008
From: cygnus at janrain.com (Jonathan Daugherty)
Date: Tue, 15 Jan 2008 11:40:00 -0800
Subject: php: raw bytestrings vs. mb_string.func_overload and strlen
In-Reply-To:
References: <9eb4f2590801150424q6237e1c4vb1549ef72da73bd7@mail.gmail.com>
Message-ID:
> Oh, that's great! Is it considered mature enough for production usage?
Yes.
--
Jonathan Daugherty
From atregoubenko at gmail.com Tue Jan 15 11:46:00 2008
From: atregoubenko at gmail.com (Artemy Tregoubenko)
Date: Tue, 15 Jan 2008 22:46:00 +0300
Subject: php: raw bytestrings vs. mb_string.func_overload and strlen
In-Reply-To:
References: <9eb4f2590801150424q6237e1c4vb1549ef72da73bd7@mail.gmail.com>
Message-ID:
>> Oh, that's great! Is it considered mature enough for production usage?
>
> Yes.
Thanks, this will save me several hours tomorrow : )
--
arty ( http://arty.name )
From trevor at tjohns.net Tue Jan 15 13:31:07 2008
From: trevor at tjohns.net (Trevor Johns)
Date: Tue, 15 Jan 2008 13:31:07 -0800
Subject: PEAR
In-Reply-To:
References:
Message-ID: <1FEACC8F-3C00-4BE4-A78A-E5E0759A6FA9@tjohns.net>
On Jan 14, 2008, at 1:48 AM, Julian Bond wrote:
> Is there any progress in getting OpenID and YADIS into PHP PEAR?
There's also the option of setting up a dedicated PEAR channel for
openidenabled.com, like PHPUnit does.
--
Trevor Johns
http://tjohns.net
From cygnus at janrain.com Tue Jan 15 13:46:35 2008
From: cygnus at janrain.com (Jonathan Daugherty)
Date: Tue, 15 Jan 2008 13:46:35 -0800
Subject: PEAR
In-Reply-To: <1FEACC8F-3C00-4BE4-A78A-E5E0759A6FA9@tjohns.net>
References:
<1FEACC8F-3C00-4BE4-A78A-E5E0759A6FA9@tjohns.net>
Message-ID:
> There's also the option of setting up a dedicated PEAR channel for
> openidenabled.com, like PHPUnit does.
Yeah. We'd be happy to do that if someone is interested in working on
packaging the library for PEAR.
--
Jonathan Daugherty
From rubys at intertwingly.net Tue Jan 15 13:50:07 2008
From: rubys at intertwingly.net (rubys at intertwingly.net)
Date: Tue, 15 Jan 2008 16:50:07 -0500
Subject: darcs patch: The following set of changes gets ruby-openid to work ...
Message-ID: <200801152150.m0FLo73h003370@rubix>
Tue Jan 15 14:48:49 EST 2008 rubys at intertwingly.net
* The following set of changes gets ruby-openid to work with Ruby 1.9,
revision 15006 and REXML revision 1301. The codebase with this
patch continues to work on Ruby 1.8.6.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 6609 bytes
Desc: A darcs patch for your repository!
Url : http://lists.openidenabled.com/pipermail/dev/attachments/20080115/70d26c93/attachment.bin
From kevin at janrain.com Tue Jan 15 17:11:47 2008
From: kevin at janrain.com (Kevin Turner)
Date: Tue, 15 Jan 2008 17:11:47 -0800
Subject: darcs patch: The following set of changes gets ruby-openid to
work ...
In-Reply-To: <200801152150.m0FLo73h003370@rubix>
References: <200801152150.m0FLo73h003370@rubix>
Message-ID: <1200445907.8566.42.camel@localhost>
Sam,
Thank you for the patch. I've created a buildbot for Ruby 1.9, and I
get one failure. I'm using the 2007-12-25 release of Ruby (revision
14709) with the included REXML. Should I be running Ruby straight from
version control, or a newer version of REXML?
http://openidenabled.com:8012/openid%20on%20ruby1.9/builds/1/step-test/0
On Tue, 2008-01-15 at 16:50 -0500, rubys at intertwingly.net wrote:
> Tue Jan 15 14:48:49 EST 2008 rubys at intertwingly.net
> * The following set of changes gets ruby-openid to work with Ruby 1.9,
> revision 15006 and REXML revision 1301. The codebase with this
> patch continues to work on Ruby 1.8.6.
> _______________________________________________
> Dev mailing list
> Dev at lists.openidenabled.com
> http://lists.openidenabled.com/mailman/listinfo/dev
From rubys at intertwingly.net Tue Jan 15 17:25:47 2008
From: rubys at intertwingly.net (Sam Ruby)
Date: Tue, 15 Jan 2008 20:25:47 -0500
Subject: darcs patch: The following set of changes gets ruby-openid to
work ...
In-Reply-To: <1200445907.8566.42.camel@localhost>
References: <200801152150.m0FLo73h003370@rubix>
<1200445907.8566.42.camel@localhost>
Message-ID: <478D5D1B.4080107@intertwingly.net>
Kevin Turner wrote:
> Sam,
>
> Thank you for the patch. I've created a buildbot for Ruby 1.9, and I
> get one failure. I'm using the 2007-12-25 release of Ruby (revision
> 14709) with the included REXML. Should I be running Ruby straight from
> version control, or a newer version of REXML?
That's fixed with revision 1301 of REXML:
http://www.germane-software.com/projects/rexml/changeset/1301
It might please you to know, I made that change in order to support
ruby-openid. :-)
FYI: Ruby 1.9 is a moving target. In order to aid in keeping both the
ruby openid implementation up-to-date with Ruby 1.9, and to prevent
regressions in Ruby 1.9, twice a day, I'm building the latest Ruby from
SVN and then running the openid regression tests. In the darcs patch
you received, there was a fix for a minor change since the 1.9 release.
And in recent runs you can see what (hopefully) is a temporary
regression in Ruby 1.9:
http://intertwingly.net/projects/ruby19/logs/openid.html
http://www.ruby-forum.com/topic/138795
- Sam Ruby
From kevin at janrain.com Tue Jan 15 17:59:01 2008
From: kevin at janrain.com (Kevin Turner)
Date: Tue, 15 Jan 2008 17:59:01 -0800
Subject: darcs patch: The following set of changes gets ruby-openid to
work ...
In-Reply-To: <478D5D1B.4080107@intertwingly.net>
References: <200801152150.m0FLo73h003370@rubix>
<1200445907.8566.42.camel@localhost>
<478D5D1B.4080107@intertwingly.net>
Message-ID: <1200448741.8566.46.camel@localhost>
On Tue, 2008-01-15 at 20:25 -0500, Sam Ruby wrote:
> That's fixed with revision 1301 of REXML:
>
> http://www.germane-software.com/projects/rexml/changeset/1301
>
> It might please you to know, I made that change in order to support
> ruby-openid. :-)
Nice. Is there public read access to that repository? I've found a
trac instance, but am having a hard time locating a repository location.
> FYI: Ruby 1.9 is a moving target. In order to aid in keeping both the
> ruby openid implementation up-to-date with Ruby 1.9, and to prevent
> regressions in Ruby 1.9, twice a day, I'm building the latest Ruby from
> SVN and then running the openid regression tests.
Good stuff. Thanks for your help.
- Kevin
From rubys at intertwingly.net Tue Jan 15 18:04:37 2008
From: rubys at intertwingly.net (Sam Ruby)
Date: Tue, 15 Jan 2008 21:04:37 -0500
Subject: darcs patch: The following set of changes gets ruby-openid to
work ...
In-Reply-To: <1200448741.8566.46.camel@localhost>
References: <200801152150.m0FLo73h003370@rubix> <1200445907.8566.42.camel@localhost> <478D5D1B.4080107@intertwingly.net>
<1200448741.8566.46.camel@localhost>
Message-ID: <478D6635.30303@intertwingly.net>
Kevin Turner wrote:
> On Tue, 2008-01-15 at 20:25 -0500, Sam Ruby wrote:
>> That's fixed with revision 1301 of REXML:
>>
>> http://www.germane-software.com/projects/rexml/changeset/1301
>>
>> It might please you to know, I made that change in order to support
>> ruby-openid. :-)
>
> Nice. Is there public read access to that repository? I've found a
> trac instance, but am having a hard time locating a repository location.
svn co http://www.germane-software.com/repos/rexml/trunk/
- Sam Ruby
From me at arty.name Wed Jan 16 08:29:19 2008
From: me at arty.name (artemy tregoubenko)
Date: Wed, 16 Jan 2008 19:29:19 +0300
Subject: php: raw bytestrings vs. mb_string.func_overload and strlen
In-Reply-To:
References: <9eb4f2590801150424q6237e1c4vb1549ef72da73bd7@mail.gmail.com>
Message-ID: <9eb4f2590801160829j3fd0631dr6ac3a8e296adbd83@mail.gmail.com>
Hello again!
Today I switched to php-openid 2.0.0 and some things began working.
However, I experienced more problems with multibyte strings. Now they
happen at stage of fetching and parsing html documents.
ParanoidFetcher was easy to fix, patch for it attached. Currently I'm
hacking into ParseHTML, and using regexes in php-unicode environment
is a pain!
--
arty ( http://arty.name )
-------------- next part --------------
A non-text attachment was scrubbed...
Name: revision7726.diff
Type: application/octet-stream
Size: 782 bytes
Desc: not available
Url : http://lists.openidenabled.com/pipermail/dev/attachments/20080116/156e2784/attachment.obj
From sam.alexander at vidoop.com Wed Jan 16 09:45:23 2008
From: sam.alexander at vidoop.com (sam.alexander at vidoop.com)
Date: Wed, 16 Jan 2008 11:45:23 -0600 (CST)
Subject: darcs patch: AX Response object's getExtensionArgs() ... (and 1 more)
Message-ID: <20080116174523.67486534E50@localhost.localhost>
Wed Jan 16 11:43:19 CST 2008 sam.alexander at vidoop.com
* AX Response object's getExtensionArgs() needs a default NULL value for $request or else it breaks fromSuccessResponse()
Wed Jan 16 11:44:48 CST 2008 sam.alexander at vidoop.com
* Fixing documentation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 3287 bytes
Desc: A darcs patch for your repository!
Url : http://lists.openidenabled.com/pipermail/dev/attachments/20080116/e9aa5443/attachment.bin
From cygnus at janrain.com Wed Jan 16 11:12:04 2008
From: cygnus at janrain.com (Jonathan Daugherty)
Date: Wed, 16 Jan 2008 11:12:04 -0800
Subject: darcs patch: AX Response object's getExtensionArgs() ... (and 1
more)
In-Reply-To: <20080116174523.67486534E50@localhost.localhost>
References: <20080116174523.67486534E50@localhost.localhost>
Message-ID:
> * AX Response object's getExtensionArgs() needs a default NULL value for $request or else it breaks fromSuccessResponse()
Hi,
Thanks for the patches! Unfortunately the above patch results in a
syntax error on PHP 4. Since the method doesn't *need* to modify the
request object, it doesn't need to be passed by reference anyway, so
I've updated it to pass by value instead.
> Wed Jan 16 11:44:48 CST 2008 sam.alexander at vidoop.com
> * Fixing documentation
Applied.
Thanks!
--
Jonathan Daugherty
From me at arty.name Thu Jan 17 01:58:39 2008
From: me at arty.name (artemy tregoubenko)
Date: Thu, 17 Jan 2008 12:58:39 +0300
Subject: php: raw bytestrings vs. mb_string.func_overload and strlen
In-Reply-To: <9eb4f2590801160829j3fd0631dr6ac3a8e296adbd83@mail.gmail.com>
References: <9eb4f2590801150424q6237e1c4vb1549ef72da73bd7@mail.gmail.com>
<9eb4f2590801160829j3fd0631dr6ac3a8e296adbd83@mail.gmail.com>
Message-ID: <9eb4f2590801170158s1f8975f8jd8b7a76a1e1b5103@mail.gmail.com>
Hello.
After all, patch for unicode support in 'html parser' is quite small.
It solves my problems for now.
On 1/16/08, artemy tregoubenko wrote:
> Hello again!
>
> Today I switched to php-openid 2.0.0 and some things began working.
> However, I experienced more problems with multibyte strings. Now they
> happen at stage of fetching and parsing html documents.
> ParanoidFetcher was easy to fix, patch for it attached. Currently I'm
> hacking into ParseHTML, and using regexes in php-unicode environment
> is a pain!
>
> --
> arty ( http://arty.name )
>
>
--
arty ( http://arty.name )
-------------- next part --------------
A non-text attachment was scrubbed...
Name: revision7787.diff
Type: application/octet-stream
Size: 1749 bytes
Desc: not available
Url : http://lists.openidenabled.com/pipermail/dev/attachments/20080117/5d35b90c/attachment.obj
From cor at xs4all.nl Fri Jan 18 08:23:30 2008
From: cor at xs4all.nl (Cor Bosman)
Date: Fri, 18 Jan 2008 17:23:30 +0100 (CET)
Subject: OpenID/SSL
Message-ID: <200801181623.m0IGNUM7018409@xs3.xs4all.nl>
Hi all, ive been wondering what the best practices are for using SSL
with OpenID. Since people can enter their OpenID without http:// or https://
im assuming that OpenID URLs are generally non-SSL.
So how can I have non-SSL OpenIDs authenticate on an SSL website?
I was thinking that this should work:
But, if I now enter 'http://my.openid.server/username' in an OpenID enabled
site, it doesnt actually go to https://my.openid.server/index.php but to
http://my.openid.server/index.php. Why is that?
How do other people generally make sure that authentication happens on
an SSL site? Do I need to seperate the OpenID URLs from the OpenID
authenticating server address? Right now both are the same.
Im using a version of php-server adapted to authenticate against our own
radius server.
Cor
From cor at xs4all.nl Fri Jan 18 08:53:29 2008
From: cor at xs4all.nl (Cor Bosman)
Date: Fri, 18 Jan 2008 17:53:29 +0100
Subject: OpenID/SSL
In-Reply-To: <200801181623.m0IGNUM7018409@xs3.xs4all.nl>
References: <200801181623.m0IGNUM7018409@xs3.xs4all.nl>
Message-ID: <20080118165329.GA18666@xs4all.nl>
>
>
>
> But, if I now enter 'http://my.openid.server/username' in an OpenID enabled
> site, it doesnt actually go to https://my.openid.server/index.php but to
> http://my.openid.server/index.php. Why is that?
Sorry for responding to my own email, but I figured it out. Why is it that
you look at something for hours, then decide to mail, and then figure it
out 5 minutes later.
I forgot to change the xrds file to point to the SSL server.
Cor
From cor at xs4all.nl Sat Jan 19 07:43:39 2008
From: cor at xs4all.nl (Cor Bosman)
Date: Sat, 19 Jan 2008 16:43:39 +0100 (CET)
Subject: openID server
Message-ID: <200801191543.m0JFhdmA015511@xs3.xs4all.nl>
Hi all, im looking at being an openid provider for a few hundred thousand
accounts. Sofar im just trying out some existing packages. I got the
2.x example server working fine.
I also looked at php-server, using openid-1.2.3. That's working somewhat.
Using http://openidenabled.com/resources/openid-test/checkup, im not being
redirected back to the openidenabled site after trusting the request.
Instead it just goes to the php-server main.tpl. I also get blank pages
once in a while, and no php errors whatsoever. Most of it is working, it's
just not very consistent. Something that works once, suddenly doesnt work
the next try.
Some questions.
Is php-server still considered useable? Or is it deprecated? Should I instead
just work with 2.0.0, and use the example code and maybe some ideas from
php-server to create my own customer site? Or is there some other standalone
php code I can use as a bases?
Any help appreciated,
Regards,
Cor
From sam.alexander at vidoop.com Sat Jan 19 10:23:19 2008
From: sam.alexander at vidoop.com (Sam Alexander)
Date: Sat, 19 Jan 2008 12:23:19 -0600
Subject: openID server
In-Reply-To: <200801191543.m0JFhdmA015511@xs3.xs4all.nl>
References: <200801191543.m0JFhdmA015511@xs3.xs4all.nl>
Message-ID: <4E9DB656-9C63-47FF-8863-F65062062797@vidoop.com>
The 2.0 libraries have both an example consumer and provider. You
should be able to use those libraries to build either a server or
consumer.
Its probably best to use the
2.0 libs. Those are the most up-to-code available.
- Sam
On Jan 19, 2008, at 9:43 AM, "Cor Bosman" wrote:
> Hi all, im looking at being an openid provider for a few hundred
> thousand
> accounts. Sofar im just trying out some existing packages. I got the
> 2.x example server working fine.
>
> I also looked at php-server, using openid-1.2.3. That's working
> somewhat.
> Using http://openidenabled.com/resources/openid-test/checkup, im not
> being
> redirected back to the openidenabled site after trusting the request.
> Instead it just goes to the php-server main.tpl. I also get blank
> pages
> once in a while, and no php errors whatsoever. Most of it is
> working, it's
> just not very consistent. Something that works once, suddenly doesnt
> work
> the next try.
>
> Some questions.
>
> Is php-server still considered useable? Or is it deprecated? Should
> I instead
> just work with 2.0.0, and use the example code and maybe some ideas
> from
> php-server to create my own customer site? Or is there some other
> standalone
> php code I can use as a bases?
>
> Any help appreciated,
>
> Regards,
>
> Cor
>
> _______________________________________________
> Dev mailing list
> Dev at lists.openidenabled.com
> http://lists.openidenabled.com/mailman/listinfo/dev
From me at arty.name Mon Jan 21 05:11:01 2008
From: me at arty.name (artemy tregoubenko)
Date: Mon, 21 Jan 2008 16:11:01 +0300
Subject: Auth_OpenID_MemcachedStore.php
Message-ID: <9eb4f2590801210511m4ca4249bld20d330acced9c4d@mail.gmail.com>
Hello.
I couldn't find store implementation for memcache, so I wrote one.
It's quite simple (mostly one-liners), but it still may save few hours
for someone if you include it in distribution.
Also I don't know the spec well enough, so I'm not sure about
expiration details. Any code review is appreciated.
--
arty ( http://arty.name )
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MemcachedStore.php
Type: application/octet-stream
Size: 2504 bytes
Desc: not available
Url : http://lists.openidenabled.com/pipermail/dev/attachments/20080121/aec1046a/attachment.obj
From eddy_nigg at startcom.org Mon Jan 21 05:40:44 2008
From: eddy_nigg at startcom.org (Eddy Nigg (StartCom Ltd.))
Date: Mon, 21 Jan 2008 15:40:44 +0200
Subject: PAPE responder
Message-ID: <4794A0DC.4000005@startcom.org>
Does anybody have a practical example how to send a PAPE response if
such a request was made?
--
Regards
Signer: Eddy Nigg, StartCom Ltd.
Jabber: startcom at startcom.org
Blog: Join the Revolution!
Phone: +1.213.341.0390
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openidenabled.com/pipermail/dev/attachments/20080121/b5f1a458/attachment.htm
From joel at pbwiki.com Wed Jan 23 20:24:04 2008
From: joel at pbwiki.com (joel at pbwiki.com)
Date: Thu, 24 Jan 2008 04:24:04 +0000 (GMT)
Subject: darcs patch: ParanoidHTTPFetcher.php (supportsSSL): Updated to work...
Message-ID: <20080124042404.E46392C9C411@tango.coceve.com>
Thu Jan 24 04:12:53 GMT 2008 joel at pbwiki.com
* ParanoidHTTPFetcher.php (supportsSSL): Updated to work under PHP 4.
The official documentation lies, curl_version() returns an array in PHP 5 and a string in PHP 4.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 3472 bytes
Desc: A darcs patch for your repository!
Url : http://lists.openidenabled.com/pipermail/dev/attachments/20080124/c4ab1e60/attachment-0001.bin
From theaterfire at yahoo.com Thu Jan 24 08:35:13 2008
From: theaterfire at yahoo.com (Tick)
Date: Thu, 24 Jan 2008 08:35:13 -0800 (PST)
Subject: Rails + openid-login generator = Parameter action does not match
return_to URL
Message-ID: <195121.41655.qm@web50702.mail.re2.yahoo.com>
I'm working from the OpenID login generator included in the ruby-openid
2.0.3 gem. I'm starting a new Rails 2.0.2 project. The generator
provided me with 'login' and 'complete' actions under my 'openid'
controller. These begin and complete authentication:
openid_url = params[:openid_url]
if request.post?
request = consumer.begin(openid_url)
# CheckIDRequest has no #status; holdover code from old ruby-openid?
#case request.status
#when OpenID::SUCCESS
if request
return_to = url_for(:action=> 'complete')
trust_root = url_for(:controller=>'')
url = request.redirect_url(trust_root, return_to)
redirect_to(url)
.
.
.
def complete
response = consumer.complete(params)
.
.
.
I've configured the rest of the skeletal app, and it almost works. When I
drop in my OpenID I'm redirected to my provider, but after I authorize my
site the 'complete' action tells me that verification failed
(response.status == OpenID::FAILURE), and the response.message is
"Parameter action does not match return_to URL". Inspecting the params
hash before it's sent to consumer.complete() shows what I think are the
relevant values:
"controller" => "openid"
"action" => "complete"
"openid.mode" => "id_res"
"openid.return_to" => "http://192.168.6.12:3000/openid/complete?..."
The message appears to be coming from openid/consumer/idres.rb:172, but my
Rails-fu isn't strong enough to figure out what that section of code is
supposed to be doing. Do I need to make changes to my consumer.begin() or
consumer.complete() calls?
Thanks very much for any help.
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
From cygnus at janrain.com Thu Jan 24 09:41:39 2008
From: cygnus at janrain.com (Jonathan Daugherty)
Date: Thu, 24 Jan 2008 09:41:39 -0800
Subject: darcs patch: ParanoidHTTPFetcher.php (supportsSSL): Updated to
work...
In-Reply-To: <20080124042404.E46392C9C411@tango.coceve.com>
References: <20080124042404.E46392C9C411@tango.coceve.com>
Message-ID:
> Thu Jan 24 04:12:53 GMT 2008 joel at pbwiki.com
> * ParanoidHTTPFetcher.php (supportsSSL): Updated to work under PHP 4.
> The official documentation lies, curl_version() returns an array in PHP 5 and a string in PHP 4.
Gack! It wouldn't be the first time the official docs were wrong...
Thanks, Joel! Applied.
--
Jonathan Daugherty
From saeven at saeven.net Fri Jan 25 14:06:14 2008
From: saeven at saeven.net (S. Alexandre M. Lemaire)
Date: Fri, 25 Jan 2008 17:06:14 -0500
Subject: No subject
Message-ID: <000601c85f9e$8098d3f0$81ca7bd0$@net>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openidenabled.com/pipermail/dev/attachments/20080125/6f036f18/attachment.htm
From saeven at saeven.net Fri Jan 25 14:08:12 2008
From: saeven at saeven.net (S. Alexandre M. Lemaire)
Date: Fri, 25 Jan 2008 17:08:12 -0500
Subject: Server denied check_authentication
Message-ID: <000b01c85f9e$c7c4bcd0$574e3670$@net>
Hi OpenIDers,
I've got everything working with the JanRain PHP toolkit for
OpenID 2, using a custom store that goes straight to MySQL (skipping the
Pear::DB middleman bloat). The authentication steps and the nonce are
working perfectly, the return however is failing with:
Server denied check_authentication
Why does this occur, and what should I check? For
homogeneity's sake, I'm checking against the JanRain myopenid.com server.
Thanks in advance.
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openidenabled.com/pipermail/dev/attachments/20080125/348fbc10/attachment.html
From saeven at saeven.net Fri Jan 25 14:33:30 2008
From: saeven at saeven.net (S. Alexandre M. Lemaire)
Date: Fri, 25 Jan 2008 17:33:30 -0500
Subject: Server denied check_authentication
In-Reply-To: <000b01c85f9e$c7c4bcd0$574e3670$@net>
References: <000b01c85f9e$c7c4bcd0$574e3670$@net>
Message-ID: <002101c85fa2$502371e0$f06a55a0$@net>
This is what the FailureResponse object contains:
Auth_OpenID_FailureResponse Object
(
[status] => failure
[endpoint] =>
[identity_url] =>
[message] => Server denied check_authentication
[contact] =>
[reference] =>
)
From: dev-bounces at lists.openidenabled.com
[mailto:dev-bounces at lists.openidenabled.com] On Behalf Of S. Alexandre M.
Lemaire
Sent: Friday, January 25, 2008 5:08 PM
To: dev at lists.openidenabled.com
Subject: Server denied check_authentication
Hi OpenIDers,
I've got everything working with the JanRain PHP toolkit for
OpenID 2, using a custom store that goes straight to MySQL (skipping the
Pear::DB middleman bloat). The authentication steps and the nonce are
working perfectly, the return however is failing with:
Server denied check_authentication
Why does this occur, and what should I check? For
homogeneity's sake, I'm checking against the JanRain myopenid.com server.
Thanks in advance.
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openidenabled.com/pipermail/dev/attachments/20080125/6cd77984/attachment.html
From kevin at janrain.com Fri Jan 25 15:05:07 2008
From: kevin at janrain.com (Kevin Turner)
Date: Fri, 25 Jan 2008 15:05:07 -0800
Subject: Server denied check_authentication
In-Reply-To: <000b01c85f9e$c7c4bcd0$574e3670$@net>
References: <000b01c85f9e$c7c4bcd0$574e3670$@net>
Message-ID: <1201302307.6071.218.camel@localhost>
On Fri, 2008-01-25 at 17:08 -0500, S. Alexandre M. Lemaire wrote:
> I?ve got everything working with the JanRain PHP toolkit for OpenID 2,
> using a custom store that goes straight to MySQL (skipping the
> Pear::DB middleman bloat). The authentication steps and the nonce are
> working perfectly, the return however is failing with:
>
> Server denied check_authentication
Unless you have explicitly chosen to use stateless mode, PHP OpenID
should rarely attempt to use check_authentication, as it prefers to use
a stored association whenever possible. The fact that it's not doing so
suggests that it failed to retrieve an association from the store.
Can you run your custom store through the tests in
Tests/Auth/OpenID/StoreTest.php ?
When your RP makes checkid_setup requests, does it include an assoc_handle?
If so, does the id_res response include an invalidate_handle parameter?
--
keturn on https://pibb.com/go/openid and irc.freenode.net#openid
From saeven at saeven.net Sun Jan 27 11:00:33 2008
From: saeven at saeven.net (S. Alexandre M. Lemaire)
Date: Sun, 27 Jan 2008 14:00:33 -0500
Subject: Server denied check_authentication
In-Reply-To: <1201302307.6071.218.camel@localhost>
References: <000b01c85f9e$c7c4bcd0$574e3670$@net>
<1201302307.6071.218.camel@localhost>
Message-ID: <001501c86116$e4e81950$aeb84bf0$@net>
Hi Kevin,
First, thanks for the response. The test unit is failing with:
Fatal error: Call to a member function addFailure() on a non-object in D:\php\PEAR\PHPUnit\TestCase.php on line 252
Checking my "pear list", I am running these versions of PHPUnit and its requirements:
PHPUnit 1.3.2 stable
PHP_Compat 1.5.0 stable
Is your test case not compatible with 1.3.2? Should I be using a different version altogether? Perhaps I am doing something wrong otherwise? Here's how I'm setting up my store for the test (based on source, couldn't find any docs...):
define('Auth_OpenID_RAND_SOURCE', null);
$store = new OpenIDStore(); // custom store
$store->connection = DB;
include( "tests/Auth/OpenID/StoreTest.php" );
$test = new Tests_Auth_OpenID_StoreTest();
$test->setUp();
$test->_testStore( $store );
Appreciate your help!
Alex
-----Original Message-----
From: dev-bounces at lists.openidenabled.com [mailto:dev-bounces at lists.openidenabled.com] On Behalf Of Kevin Turner
Sent: Friday, January 25, 2008 6:05 PM
To: dev at lists.openidenabled.com
Subject: Re: Server denied check_authentication
On Fri, 2008-01-25 at 17:08 -0500, S. Alexandre M. Lemaire wrote:
> I?ve got everything working with the JanRain PHP toolkit for OpenID 2,
> using a custom store that goes straight to MySQL (skipping the
> Pear::DB middleman bloat). The authentication steps and the nonce are
> working perfectly, the return however is failing with:
>
> Server denied check_authentication
Unless you have explicitly chosen to use stateless mode, PHP OpenID
should rarely attempt to use check_authentication, as it prefers to use
a stored association whenever possible. The fact that it's not doing so
suggests that it failed to retrieve an association from the store.
Can you run your custom store through the tests in
Tests/Auth/OpenID/StoreTest.php ?
When your RP makes checkid_setup requests, does it include an assoc_handle?
If so, does the id_res response include an invalidate_handle parameter?
--
keturn on https://pibb.com/go/openid and irc.freenode.net#openid
_______________________________________________
Dev mailing list
Dev at lists.openidenabled.com
http://lists.openidenabled.com/mailman/listinfo/dev
From saeven at saeven.net Sun Jan 27 11:54:09 2008
From: saeven at saeven.net (S. Alexandre M. Lemaire)
Date: Sun, 27 Jan 2008 14:54:09 -0500
Subject: Server denied check_authentication
In-Reply-To: <001501c86116$e4e81950$aeb84bf0$@net>
References: <000b01c85f9e$c7c4bcd0$574e3670$@net> <1201302307.6071.218.camel@localhost>
<001501c86116$e4e81950$aeb84bf0$@net>
Message-ID: <000001c8611e$63b13490$2b139db0$@net>
Hacking into it a bit, I've found the problem, and it has to do with key size on the MySQL tables in which I am storing the data.
Is the handle always necessarily going to be this massive? Rereading the provided generic store, the key index is absolutely huge by default. This could be a pretty substantial performance hit on a very busy system.
-----Original Message-----
From: dev-bounces at lists.openidenabled.com [mailto:dev-bounces at lists.openidenabled.com] On Behalf Of S. Alexandre M. Lemaire
Sent: Sunday, January 27, 2008 2:01 PM
To: 'discuss OpenID libraries and development'
Subject: RE: Server denied check_authentication
Hi Kevin,
First, thanks for the response. The test unit is failing with:
Fatal error: Call to a member function addFailure() on a non-object in D:\php\PEAR\PHPUnit\TestCase.php on line 252
Checking my "pear list", I am running these versions of PHPUnit and its requirements:
PHPUnit 1.3.2 stable
PHP_Compat 1.5.0 stable
Is your test case not compatible with 1.3.2? Should I be using a different version altogether? Perhaps I am doing something wrong otherwise? Here's how I'm setting up my store for the test (based on source, couldn't find any docs...):
define('Auth_OpenID_RAND_SOURCE', null);
$store = new OpenIDStore(); // custom store
$store->connection = DB;
include( "tests/Auth/OpenID/StoreTest.php" );
$test = new Tests_Auth_OpenID_StoreTest();
$test->setUp();
$test->_testStore( $store );
Appreciate your help!
Alex
-----Original Message-----
From: dev-bounces at lists.openidenabled.com [mailto:dev-bounces at lists.openidenabled.com] On Behalf Of Kevin Turner
Sent: Friday, January 25, 2008 6:05 PM
To: dev at lists.openidenabled.com
Subject: Re: Server denied check_authentication
On Fri, 2008-01-25 at 17:08 -0500, S. Alexandre M. Lemaire wrote:
> I?ve got everything working with the JanRain PHP toolkit for OpenID 2,
> using a custom store that goes straight to MySQL (skipping the
> Pear::DB middleman bloat). The authentication steps and the nonce are
> working perfectly, the return however is failing with:
>
> Server denied check_authentication
Unless you have explicitly chosen to use stateless mode, PHP OpenID
should rarely attempt to use check_authentication, as it prefers to use
a stored association whenever possible. The fact that it's not doing so
suggests that it failed to retrieve an association from the store.
Can you run your custom store through the tests in
Tests/Auth/OpenID/StoreTest.php ?
When your RP makes checkid_setup requests, does it include an assoc_handle?
If so, does the id_res response include an invalidate_handle parameter?
--
keturn on https://pibb.com/go/openid and irc.freenode.net#openid
_______________________________________________
Dev mailing list
Dev at lists.openidenabled.com
http://lists.openidenabled.com/mailman/listinfo/dev
_______________________________________________
Dev mailing list
Dev at lists.openidenabled.com
http://lists.openidenabled.com/mailman/listinfo/dev
From saeven at saeven.net Sun Jan 27 17:52:38 2008
From: saeven at saeven.net (S. Alexandre M. Lemaire)
Date: Sun, 27 Jan 2008 20:52:38 -0500
Subject: Server denied check_authentication
In-Reply-To: <000001c8611e$63b13490$2b139db0$@net>
References: <000b01c85f9e$c7c4bcd0$574e3670$@net> <1201302307.6071.218.camel@localhost> <001501c86116$e4e81950$aeb84bf0$@net>
<000001c8611e$63b13490$2b139db0$@net>
Message-ID: <000001c86150$76f254d0$64d6fe70$@net>
Ok,
Having hacked the testcase, I did manage to find the problem. The store seems to be working properly now passing all tests!
At present, I'm left with a new error after the login process:
> Nonce already used or out of range
What should I check?
Appreciated always.
Alex
-----Original Message-----
From: dev-bounces at lists.openidenabled.com [mailto:dev-bounces at lists.openidenabled.com] On Behalf Of S. Alexandre M. Lemaire
Sent: Sunday, January 27, 2008 2:54 PM
To: 'discuss OpenID libraries and development'
Subject: RE: Server denied check_authentication
Hacking into it a bit, I've found the problem, and it has to do with key size on the MySQL tables in which I am storing the data.
Is the handle always necessarily going to be this massive? Rereading the provided generic store, the key index is absolutely huge by default. This could be a pretty substantial performance hit on a very busy system.
-----Original Message-----
From: dev-bounces at lists.openidenabled.com [mailto:dev-bounces at lists.openidenabled.com] On Behalf Of S. Alexandre M. Lemaire
Sent: Sunday, January 27, 2008 2:01 PM
To: 'discuss OpenID libraries and development'
Subject: RE: Server denied check_authentication
Hi Kevin,
First, thanks for the response. The test unit is failing with:
Fatal error: Call to a member function addFailure() on a non-object in D:\php\PEAR\PHPUnit\TestCase.php on line 252
Checking my "pear list", I am running these versions of PHPUnit and its requirements:
PHPUnit 1.3.2 stable
PHP_Compat 1.5.0 stable
Is your test case not compatible with 1.3.2? Should I be using a different version altogether? Perhaps I am doing something wrong otherwise? Here's how I'm setting up my store for the test (based on source, couldn't find any docs...):
define('Auth_OpenID_RAND_SOURCE', null);
$store = new OpenIDStore(); // custom store
$store->connection = DB;
include( "tests/Auth/OpenID/StoreTest.php" );
$test = new Tests_Auth_OpenID_StoreTest();
$test->setUp();
$test->_testStore( $store );
Appreciate your help!
Alex
-----Original Message-----
From: dev-bounces at lists.openidenabled.com [mailto:dev-bounces at lists.openidenabled.com] On Behalf Of Kevin Turner
Sent: Friday, January 25, 2008 6:05 PM
To: dev at lists.openidenabled.com
Subject: Re: Server denied check_authentication
On Fri, 2008-01-25 at 17:08 -0500, S. Alexandre M. Lemaire wrote:
> I?ve got everything working with the JanRain PHP toolkit for OpenID 2,
> using a custom store that goes straight to MySQL (skipping the
> Pear::DB middleman bloat). The authentication steps and the nonce are
> working perfectly, the return however is failing with:
>
> Server denied check_authentication
Unless you have explicitly chosen to use stateless mode, PHP OpenID
should rarely attempt to use check_authentication, as it prefers to use
a stored association whenever possible. The fact that it's not doing so
suggests that it failed to retrieve an association from the store.
Can you run your custom store through the tests in
Tests/Auth/OpenID/StoreTest.php ?
When your RP makes checkid_setup requests, does it include an assoc_handle?
If so, does the id_res response include an invalidate_handle parameter?
--
keturn on https://pibb.com/go/openid and irc.freenode.net#openid
_______________________________________________
Dev mailing list
Dev at lists.openidenabled.com
http://lists.openidenabled.com/mailman/listinfo/dev
_______________________________________________
Dev mailing list
Dev at lists.openidenabled.com
http://lists.openidenabled.com/mailman/listinfo/dev
_______________________________________________
Dev mailing list
Dev at lists.openidenabled.com
http://lists.openidenabled.com/mailman/listinfo/dev
From saeven at saeven.net Sun Jan 27 18:00:29 2008
From: saeven at saeven.net (S. Alexandre M. Lemaire)
Date: Sun, 27 Jan 2008 21:00:29 -0500
Subject: Server denied check_authentication
In-Reply-To: <000001c86150$76f254d0$64d6fe70$@net>
References: <000b01c85f9e$c7c4bcd0$574e3670$@net> <1201302307.6071.218.camel@localhost> <001501c86116$e4e81950$aeb84bf0$@net> <000001c8611e$63b13490$2b139db0$@net>
<000001c86150$76f254d0$64d6fe70$@net>
Message-ID: <000101c86151$8efc6510$acf52f30$@net>
NM, Got it!
Was just a "secret" Boolean result, not being returned.
Cheers.
Alex
-----Original Message-----
From: dev-bounces at lists.openidenabled.com [mailto:dev-bounces at lists.openidenabled.com] On Behalf Of S. Alexandre M. Lemaire
Sent: Sunday, January 27, 2008 8:53 PM
To: 'discuss OpenID libraries and development'
Subject: RE: Server denied check_authentication
Ok,
Having hacked the testcase, I did manage to find the problem. The store seems to be working properly now passing all tests!
At present, I'm left with a new error after the login process:
> Nonce already used or out of range
What should I check?
Appreciated always.
Alex
-----Original Message-----
From: dev-bounces at lists.openidenabled.com [mailto:dev-bounces at lists.openidenabled.com] On Behalf Of S. Alexandre M. Lemaire
Sent: Sunday, January 27, 2008 2:54 PM
To: 'discuss OpenID libraries and development'
Subject: RE: Server denied check_authentication
Hacking into it a bit, I've found the problem, and it has to do with key size on the MySQL tables in which I am storing the data.
Is the handle always necessarily going to be this massive? Rereading the provided generic store, the key index is absolutely huge by default. This could be a pretty substantial performance hit on a very busy system.
-----Original Message-----
From: dev-bounces at lists.openidenabled.com [mailto:dev-bounces at lists.openidenabled.com] On Behalf Of S. Alexandre M. Lemaire
Sent: Sunday, January 27, 2008 2:01 PM
To: 'discuss OpenID libraries and development'
Subject: RE: Server denied check_authentication
Hi Kevin,
First, thanks for the response. The test unit is failing with:
Fatal error: Call to a member function addFailure() on a non-object in D:\php\PEAR\PHPUnit\TestCase.php on line 252
Checking my "pear list", I am running these versions of PHPUnit and its requirements:
PHPUnit 1.3.2 stable
PHP_Compat 1.5.0 stable
Is your test case not compatible with 1.3.2? Should I be using a different version altogether? Perhaps I am doing something wrong otherwise? Here's how I'm setting up my store for the test (based on source, couldn't find any docs...):
define('Auth_OpenID_RAND_SOURCE', null);
$store = new OpenIDStore(); // custom store
$store->connection = DB;
include( "tests/Auth/OpenID/StoreTest.php" );
$test = new Tests_Auth_OpenID_StoreTest();
$test->setUp();
$test->_testStore( $store );
Appreciate your help!
Alex
-----Original Message-----
From: dev-bounces at lists.openidenabled.com [mailto:dev-bounces at lists.openidenabled.com] On Behalf Of Kevin Turner
Sent: Friday, January 25, 2008 6:05 PM
To: dev at lists.openidenabled.com
Subject: Re: Server denied check_authentication
On Fri, 2008-01-25 at 17:08 -0500, S. Alexandre M. Lemaire wrote:
> I?ve got everything working with the JanRain PHP toolkit for OpenID 2,
> using a custom store that goes straight to MySQL (skipping the
> Pear::DB middleman bloat). The authentication steps and the nonce are
> working perfectly, the return however is failing with:
>
> Server denied check_authentication
Unless you have explicitly chosen to use stateless mode, PHP OpenID
should rarely attempt to use check_authentication, as it prefers to use
a stored association whenever possible. The fact that it's not doing so
suggests that it failed to retrieve an association from the store.
Can you run your custom store through the tests in
Tests/Auth/OpenID/StoreTest.php ?
When your RP makes checkid_setup requests, does it include an assoc_handle?
If so, does the id_res response include an invalidate_handle parameter?
--
keturn on https://pibb.com/go/openid and irc.freenode.net#openid
_______________________________________________
Dev mailing list
Dev at lists.openidenabled.com
http://lists.openidenabled.com/mailman/listinfo/dev
_______________________________________________
Dev mailing list
Dev at lists.openidenabled.com
http://lists.openidenabled.com/mailman/listinfo/dev
_______________________________________________
Dev mailing list
Dev at lists.openidenabled.com
http://lists.openidenabled.com/mailman/listinfo/dev
_______________________________________________
Dev mailing list
Dev at lists.openidenabled.com
http://lists.openidenabled.com/mailman/listinfo/dev
From kevin at janrain.com Mon Jan 28 12:45:48 2008
From: kevin at janrain.com (Kevin Turner)
Date: Mon, 28 Jan 2008 12:45:48 -0800
Subject: Rails + openid-login generator = Parameter action does not
match return_to URL
In-Reply-To: <195121.41655.qm@web50702.mail.re2.yahoo.com>
References: <195121.41655.qm@web50702.mail.re2.yahoo.com>
Message-ID: <1201553148.6071.357.camel@localhost>
I wasn't sure what was going on here at first, but someone else
encountered a similar problem over the weekend that sheds some light on
this one.
The hash you're sending to complete() includes "controller" and "action"
items. I'm guessing those weren't really parameters that were part of
the request like openid.mode is. Pass only the arguments that were sent
by the browser in the GET or POST and it should behave better.
The example code contains this line:
parameters = params.reject{|k,v|request.path_parameters[k]}
ew.
On Thu, 2008-01-24 at 08:35 -0800, Tick wrote:
> I've configured the rest of the skeletal app, and it almost works. When I
> drop in my OpenID I'm redirected to my provider, but after I authorize my
> site the 'complete' action tells me that verification failed
> (response.status == OpenID::FAILURE), and the response.message is
> "Parameter action does not match return_to URL". Inspecting the params
> hash before it's sent to consumer.complete() shows what I think are the
> relevant values:
>
> "controller" => "openid"
> "action" => "complete"
> "openid.mode" => "id_res"
> "openid.return_to" => "http://192.168.6.12:3000/openid/complete?..."
>
> The message appears to be coming from openid/consumer/idres.rb:172, but my
> Rails-fu isn't strong enough to figure out what that section of code is
> supposed to be doing. Do I need to make changes to my consumer.begin() or
> consumer.complete() calls?
>
> Thanks very much for any help.
>
>
> ____________________________________________________________________________________
> Looking for last minute shopping deals?
> Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
>
> _______________________________________________
> Dev mailing list
> Dev at lists.openidenabled.com
> http://lists.openidenabled.com/mailman/listinfo/dev
>
>
From josh at janrain.com Mon Jan 28 12:58:11 2008
From: josh at janrain.com (Josh Hoyt)
Date: Mon, 28 Jan 2008 12:58:11 -0800
Subject: Rails + openid-login generator = Parameter action does not match
return_to URL
In-Reply-To: <1201553148.6071.357.camel@localhost>
References: <195121.41655.qm@web50702.mail.re2.yahoo.com>
<1201553148.6071.357.camel@localhost>
Message-ID: <34714aad0801281258v6c804e7fmd3e630825e56ea16@mail.gmail.com>
On Jan 28, 2008 12:45 PM, Kevin Turner wrote:
> The hash you're sending to complete() includes "controller" and "action"
> items. I'm guessing those weren't really parameters that were part of
> the request like openid.mode is. Pass only the arguments that were sent
> by the browser in the GET or POST and it should behave better.
>
> The example code contains this line:
>
> parameters = params.reject{|k,v|request.path_parameters[k]}
>
> ew.
Yeah, we really need an adapter for rails or some other way of making
this easier/more obvious. Probably 95% of Ruby library users will be
Rails users, right?
Anybody have ideas?
j3h
From kushaldas at gmail.com Mon Jan 28 20:26:40 2008
From: kushaldas at gmail.com (Kushal Das)
Date: Tue, 29 Jan 2008 09:56:40 +0530
Subject: PHP-OpenID server is not working ,
blank page is coming while using it from other sites
Message-ID: <200801290956.40214.kushaldas@gmail.com>
Hi all,
I downloaded and trying to use PHP OpenID server. My final target is to write
different backends for it.
I installed it at
http://122.167.149.43/openid
Users can create or login in the server but while trying to use it in any
site , like in livejournal or drupal , it goes to to blank page , and the url
is showing something like this:
http://122.167.149.43/src/index.php/serve?openid.mode=checkid_setup&openid.identity=http://122.167.149.43/openid/%3Fuser%3Dtechnofreak&openid.return_to=http://www.livejournal.com/talkpost_do.bml%3Fjid%3D1840%26pendcid%3D19%26oic.identity%3Dhttp://122.167.149.43/openid/%253Fuser%253Dtechnofreak%26oic.time%3D1201579037-dbbeea4b3326f8684925&openid.trust_root=http://www.livejournal.com
Thus I am not being able to use this server. The result happens if I try to
use it in my LAN also.
Please help me.
Kushal
--
Fedora Ambassador, India
http://kushaldas.in
http://dgplug.org (Linux User Group of Durgapur)
From cygnus at janrain.com Mon Jan 28 21:04:19 2008
From: cygnus at janrain.com (Jonathan Daugherty)
Date: Mon, 28 Jan 2008 21:04:19 -0800
Subject: PHP-OpenID server is not working ,
blank page is coming while using it from other sites
In-Reply-To: <200801290956.40214.kushaldas@gmail.com>
References: <200801290956.40214.kushaldas@gmail.com>
Message-ID:
> I installed it at
> http://122.167.149.43/openid
>
> Users can create or login in the server but while trying to use it in any
> site , like in livejournal or drupal , it goes to to blank page
Have you checked your server error log?
--
Jonathan Daugherty
From kushaldas at gmail.com Mon Jan 28 21:22:46 2008
From: kushaldas at gmail.com (Kushal Das)
Date: Tue, 29 Jan 2008 10:52:46 +0530
Subject: PHP-OpenID server is not working ,
blank page is coming while using it from other sites
In-Reply-To:
References: <200801290956.40214.kushaldas@gmail.com>
Message-ID: <200801291052.46349.kushaldas@gmail.com>
On Tuesday 29 January 2008 10:34:19 am Jonathan Daugherty wrote:
> Have you checked your server error log?
The only error it showing (the error log is full of that only ) is
[Tue Jan 29 10:44:19 2008] [error] [client 81.164.112.56] PHP Warning:
Call-time pass-by-reference has been deprecated; If you would like to pass
it by reference, modify the declaration of [runtime function name](). If you
would like to enable call-time pass-by-reference, you can set
allow_call_time_pass_reference to true in your INI file.
in /var/www/html/src/Auth/OpenID/TrustRoot.php on line 359, referer:
http://122.167.149.43/openid/?action=register
Kushal
--
Fedora Ambassador, India
http://kushaldas.in
http://dgplug.org (Linux User Group of Durgapur)
From cygnus at janrain.com Mon Jan 28 21:56:54 2008
From: cygnus at janrain.com (Jonathan Daugherty)
Date: Mon, 28 Jan 2008 21:56:54 -0800
Subject: PHP-OpenID server is not working ,
blank page is coming while using it from other sites
In-Reply-To: <200801291052.46349.kushaldas@gmail.com>
References: <200801290956.40214.kushaldas@gmail.com>
<200801291052.46349.kushaldas@gmail.com>
Message-ID:
> [Tue Jan 29 10:44:19 2008] [error] [client 81.164.112.56] PHP Warning:
> Call-time pass-by-reference has been deprecated; If you would like to pass
> it by reference, modify the declaration of [runtime function name](). If you
> would like to enable call-time pass-by-reference, you can set
> allow_call_time_pass_reference to true in your INI file.
Yeah, that should not be a problem. (At any rate, I've patched trunk
to avoid that warning. Thanks!)
Which association store are you using? I've seen problems with some
MySQL versions due to a bug in index creation that prevents the
required tables from being created. You might need to look for
failing queries in your database statement log, and you'll need to
turn on statement logging if it's not on by default.
Hope that helps,
--
Jonathan Daugherty
From chris at xhost.com.au Mon Jan 28 22:34:25 2008
From: chris at xhost.com.au (Chris Fordham)
Date: Tue, 29 Jan 2008 17:34:25 +1100
Subject: PHP-OpenID server is not working , blank page is coming while
using it from other sites
In-Reply-To:
References: <200801290956.40214.kushaldas@gmail.com>
<200801291052.46349.kushaldas@gmail.com>
Message-ID:
On Tue, 29 Jan 2008 16:56:54 +1100, Jonathan Daugherty
wrote:
>> [Tue Jan 29 10:44:19 2008] [error] [client 81.164.112.56] PHP Warning:
>> Call-time pass-by-reference has been deprecated; If you would like to
>> pass
>> it by reference, modify the declaration of [runtime function name]().
>> If you
>> would like to enable call-time pass-by-reference, you can set
>> allow_call_time_pass_reference to true in your INI file.
>
> Yeah, that should not be a problem. (At any rate, I've patched trunk
> to avoid that warning. Thanks!)
>
> Which association store are you using? I've seen problems with some
> MySQL versions due to a bug in index creation that prevents the
> required tables from being created. You might need to look for
> failing queries in your database statement log, and you'll need to
> turn on statement logging if it's not on by default.
I seem to witness this bug you refer to Jonathan alot.
Will raise another post to see what I find on debug. Thanks for the ID
again. *excuse the pun*
My env is generally PHP5.x and MySQL 5.1x
> Hope that helps,
>
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
From kushaldas at gmail.com Mon Jan 28 22:41:52 2008
From: kushaldas at gmail.com (Kushal Das)
Date: Tue, 29 Jan 2008 12:11:52 +0530
Subject: PHP-OpenID server is not working ,
blank page is coming while using it from other sites
In-Reply-To:
References: <200801290956.40214.kushaldas@gmail.com>
<200801291052.46349.kushaldas@gmail.com>
Message-ID: <200801291211.52279.kushaldas@gmail.com>
On Tuesday 29 January 2008 11:26:54 am Jonathan Daugherty wrote:
> Which association store are you using? I've seen problems with some
> MySQL versions due to a bug in index creation that prevents the
> required tables from being created. You might need to look for
> failing queries in your database statement log, and you'll need to
> turn on statement logging if it's not on by default.
I am using MySQL 5.0.45 on Fedora 8 system with PHP5.2
Can you please tell me how to turn on statement logging ?
Kushal
--
Fedora Ambassador, India
http://kushaldas.in
http://dgplug.org (Linux User Group of Durgapur)
From kushaldas at gmail.com Tue Jan 29 00:50:16 2008
From: kushaldas at gmail.com (Kushal Das)
Date: Tue, 29 Jan 2008 14:20:16 +0530
Subject: PHP-OpenID server is not working ,
blank page is coming while using it from other sites
In-Reply-To:
References: <200801290956.40214.kushaldas@gmail.com>
<200801291052.46349.kushaldas@gmail.com>
Message-ID: <200801291420.16710.kushaldas@gmail.com>
On Tuesday 29 January 2008 11:26:54 am Jonathan Daugherty wrote:
> Which association store are you using? I've seen problems with some
> MySQL versions due to a bug in index creation that prevents the
> required tables from being created. You might need to look for
> failing queries in your database statement log, and you'll need to
> turn on statement logging if it's not on by default.
Finally got the logs.
Below is a paste:
20 Connect openid at localhost on
20 Init DB php_openid_server
20 Init DB php_openid_server
20 Query CREATE TABLE accounts (id INTEGER
AUTO_INCREMENT PRIMARY KEY, username VARCHAR(255) UNIQUE, password
VARCHAR(32))
20 Init DB php_openid_server
20 Init DB php_openid_server
20 Query CREATE TABLE identities (id INTEGER
AUTO_INCREMENT NOT NULL PRIMARY KEY, account VARCHAR(255) NOT NULL, url TEXT
NOT NULL, UNIQUE (account, url(255)))
20 Init DB php_openid_server
20 Query CREATE TABLE personas (id INTEGER
AUTO_INCREMENT NOT NULL PRIMARY KEY, account VARCHAR(255) NOT NULL, nickname
VARCHAR(255), email VARCHAR(255), fullname VARCHAR(255), dob DATE, gender
CHAR(1), postcode VARCHAR(255), country VARCHAR(32), language VARCHAR(32),
timezone VARCHAR(255))
20 Init DB php_openid_server
20 Query CREATE TABLE sites (account VARCHAR(255)
NOT NULL, trust_root TEXT, trusted BOOLEAN, UNIQUE (account,
trust_root(255)))
20 Quit
19 Query SELECT sid FROM sessions WHERE sid
= '5gk2l30rao806qk8g4ogn8o4v7'
19 Query UPDATE sessions SET uid = 0, cache = 0,
hostname = '127.0.0.1', session = 'openid_op_endpoint|s:46:
\"http://172.16.1.189/openid/src/index.php/serve\";openid_claimed_id|s:43:
\"http://172.16.1.189/openid/src/?user=kushal\";', timestamp = 1201596225
WHERE sid = '5gk2l30rao806qk8g4ogn8o4v7'
19 Quit
21 Connect openid at localhost on
21 Init DB php_openid_server
21 Init DB php_openid_server
21 Query CREATE TABLE accounts (id INTEGER
AUTO_INCREMENT PRIMARY KEY, username VARCHAR(255) UNIQUE, password
VARCHAR(32))
21 Init DB php_openid_server
21 Init DB php_openid_server
21 Query CREATE TABLE identities (id INTEGER
AUTO_INCREMENT NOT NULL PRIMARY KEY, account VARCHAR(255) NOT NULL, url TEXT
NOT NULL, UNIQUE (account, url(255)))
21 Init DB php_openid_server
21 Query CREATE TABLE personas (id INTEGER
AUTO_INCREMENT NOT NULL PRIMARY KEY, account VARCHAR(255) NOT NULL, nickname
VARCHAR(255), email VARCHAR(255), fullname VARCHAR(255), dob DATE, gender
CHAR(1), postcode VARCHAR(255), country VARCHAR(32), language VARCHAR(32),
timezone VARCHAR(255))
21 Init DB php_openid_server
21 Query CREATE TABLE sites (account VARCHAR(255)
NOT NULL, trust_root TEXT, trusted BOOLEAN, UNIQUE (account,
trust_root(255)))
21 Init DB php_openid_server
21 Init DB php_openid_server
21 Query SELECT * FROM oid_nonces LIMIT 0
21 Init DB php_openid_server
21 Query SELECT * FROM oid_associations LIMIT 0
21 Quit
But I can not see any sessions table in mysql :(
Kushal
--
Fedora Ambassador, India
http://kushaldas.in
http://dgplug.org (Linux User Group of Durgapur)
From kushaldas at gmail.com Tue Jan 29 01:15:13 2008
From: kushaldas at gmail.com (Kushal Das)
Date: Tue, 29 Jan 2008 14:45:13 +0530
Subject: PHP-OpenID server is not working ,
blank page is coming while using it from other sites
In-Reply-To:
References: <200801290956.40214.kushaldas@gmail.com>
<200801291052.46349.kushaldas@gmail.com>
Message-ID: <200801291445.13275.kushaldas@gmail.com>
On Tuesday 29 January 2008 11:26:54 am Jonathan Daugherty wrote:
> Which association store are you using? I've seen problems with some
> MySQL versions due to a bug in index creation that prevents the
> required tables from being created. You might need to look for
> failing queries in your database statement log, and you'll need to
> turn on statement logging if it's not on by default.
Just found only few of the tables are actually being created
# accounts
# oid_associations
# oid_nonces
# oid_settings
# personas
# personas_id_seq
Except the above six tables none other tables are being created :(
From the mysql log file I can see queries like:
141 Init DB php_openid_server
141 Query CREATE TABLE identities (id INTEGER
AUTO_INCREMENT NOT NULL PRIMARY KEY, account VARCHAR(255) NOT NULL, url TEXT
NOT NULL, UNIQUE (account, url(255)))
142 Init DB php_openid_server
142 Query CREATE TABLE sites (account VARCHAR(255)
NOT NULL, trust_root TEXT, trusted BOOLEAN, UNIQUE (account,
trust_root(255)))
142 Quit
But the tables are not in the database.
Kushal
--
Fedora Ambassador, India
http://kushaldas.in
http://dgplug.org (Linux User Group of Durgapur)
From theaterfire at yahoo.com Tue Jan 29 06:20:49 2008
From: theaterfire at yahoo.com (Tick)
Date: Tue, 29 Jan 2008 06:20:49 -0800 (PST)
Subject: Rails + openid-login generator = Parameter action does not match
return_to URL
In-Reply-To: <1201553148.6071.357.camel@localhost>
Message-ID: <80951.17571.qm@web50710.mail.re2.yahoo.com>
--- Kevin Turner wrote:
> The hash you're sending to complete() includes "controller" and "action"
> items. I'm guessing those weren't really parameters that were part of
> the request like openid.mode is. Pass only the arguments that were sent
> by the browser in the GET or POST and it should behave better.
This was exactly the problem.
> The example code contains this line:
>
> parameters = params.reject{|k,v|request.path_parameters[k]}
And this fixed it.
Thank you so much! As a casual developer, this has been tying me up for a
couple of weeks. I'd been working from other external examples that were
much less clear and I hadn't yet dug into the rails app that ships with
the ruby-openid gem to find out how it works.
Is the rails openid-login generator that ships with 2.0.3 still
maintained? It generates code that feeds the raw params hash directly to
consumer.complete(). It also assumes that the return value from
consumer.begin() will have a #status property, which looks to be a
holdover from ruby-openid 1.x.x when begin() returned an OpenIDStatus
object instead of a CheckIDRequest. Perhaps it hasn't been updated for
ruby-openid 2.x.x?
Thanks again!
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
From cygnus at janrain.com Tue Jan 29 09:24:15 2008
From: cygnus at janrain.com (Jonathan Daugherty)
Date: Tue, 29 Jan 2008 09:24:15 -0800
Subject: PHP-OpenID server is not working ,
blank page is coming while using it from other sites
In-Reply-To: <200801291445.13275.kushaldas@gmail.com>
References: <200801290956.40214.kushaldas@gmail.com>
<200801291052.46349.kushaldas@gmail.com>
<200801291445.13275.kushaldas@gmail.com>
Message-ID:
> But the tables are not in the database.
If possible, try upgrading to the latest stable release of MySQL. If
you can't do that, you can employ the fix (hack) described here:
http://lists.openidenabled.com/pipermail/dev/2007-August/000807.html
Hope that helps,
--
Jonathan Daugherty
From kevin at janrain.com Tue Jan 29 14:52:02 2008
From: kevin at janrain.com (Kevin Turner)
Date: Tue, 29 Jan 2008 14:52:02 -0800
Subject: Rails + openid-login generator = Parameter action does not
match return_to URL
In-Reply-To: <34714aad0801281258v6c804e7fmd3e630825e56ea16@mail.gmail.com>
References: <195121.41655.qm@web50702.mail.re2.yahoo.com>
<1201553148.6071.357.camel@localhost>
<34714aad0801281258v6c804e7fmd3e630825e56ea16@mail.gmail.com>
Message-ID: <1201647122.6071.411.camel@localhost>
On Mon, 2008-01-28 at 12:58 -0800, Josh Hoyt wrote:
> > parameters = params.reject{|k,v|request.path_parameters[k]}
> >
> > ew.
>
> Yeah, we really need an adapter for rails or some other way of making
> this easier/more obvious. Probably 95% of Ruby library users will be
> Rails users, right?
This doesn't invalidate your point, but the other instance of this
problem I saw within the last week was _not_ with Rails.
From oneone at gmail.com Wed Jan 30 06:48:30 2008
From: oneone at gmail.com (Andrew Arrow)
Date: Wed, 30 Jan 2008 06:48:30 -0800
Subject: "Nonce already used or out of range"
Message-ID:
"Nonce already used or out of range"
I get this the 2nd time I log in. Do I have to delete the nonce form
the filesystem after each login?
From cygnus at janrain.com Wed Jan 30 10:00:09 2008
From: cygnus at janrain.com (Jonathan Daugherty)
Date: Wed, 30 Jan 2008 10:00:09 -0800
Subject: "Nonce already used or out of range"
In-Reply-To:
References:
Message-ID:
> "Nonce already used or out of range"
>
> I get this the 2nd time I log in. Do I have to delete the nonce form
> the filesystem after each login?
How do you log in? Do you re-use a (possibly bookmarked) URL?
Which library (and version) are you using?
--
Jonathan Daugherty
From kevin at janrain.com Wed Jan 30 13:52:35 2008
From: kevin at janrain.com (Kevin Turner)
Date: Wed, 30 Jan 2008 13:52:35 -0800
Subject: Rails + openid-login generator = Parameter action does not
match return_to URL
In-Reply-To: <34714aad0801281258v6c804e7fmd3e630825e56ea16@mail.gmail.com>
References: <195121.41655.qm@web50702.mail.re2.yahoo.com>
<1201553148.6071.357.camel@localhost>
<34714aad0801281258v6c804e7fmd3e630825e56ea16@mail.gmail.com>
Message-ID: <1201729955.6071.461.camel@localhost>
On Mon, 2008-01-28 at 12:58 -0800, Josh Hoyt wrote:
> Yeah, we really need an adapter for rails or some other way of making
> this easier/more obvious. Probably 95% of Ruby library users will be
> Rails users, right?
>
> Anybody have ideas?
There's also this plug-in:
http://agilewebdevelopment.com/plugins/openidauthentication
I don't believe it's been updated for 2.0, but it has received at least
maintenance commits within the past month or so.
From valpis at gmail.com Thu Jan 31 03:58:21 2008
From: valpis at gmail.com (Johan Eriksson)
Date: Thu, 31 Jan 2008 12:58:21 +0100
Subject: yahoo and python-openid problems
Message-ID: <6c133d8a0801310358r271f3662h5a00218354aa605f@mail.gmail.com>
I have tested the consumer.py against the yahoo openid and this
doesn't work ( no problems against myopenid), the php and ruby version
seems to validate ok. I am using 2.1.1. Since the live demo for python
doesn't work at the moment I don't know if trunk version works
Any suggestions?
/johan
From cygnus at janrain.com Thu Jan 31 09:26:06 2008
From: cygnus at janrain.com (Jonathan Daugherty)
Date: Thu, 31 Jan 2008 09:26:06 -0800
Subject: yahoo and python-openid problems
In-Reply-To: <6c133d8a0801310358r271f3662h5a00218354aa605f@mail.gmail.com>
References: <6c133d8a0801310358r271f3662h5a00218354aa605f@mail.gmail.com>
Message-ID:
> Since the live demo for python
> doesn't work at the moment I don't know if trunk version works
Fixed. Sorry about that. Once I restarted the demo, I was able to
use my Yahoo OpenID successfully. Can you try there?
--
Jonathan Daugherty
From nwaipot at yahoo.com Thu Jan 31 18:46:52 2008
From: nwaipot at yahoo.com (waipot ngamsaad)
Date: Thu, 31 Jan 2008 18:46:52 -0800 (PST)
Subject: Problem with none-www prefix OpenID server
Message-ID: <52581.48671.qm@web36906.mail.mud.yahoo.com>
Dear Alls,
This is my first message in this mailing group. I need your help. I'm running PHP-OpenID server. I provide user OpenID URL in this format
http://www.myweb.com/?user=NAME
which work very fine. However if the user try to enter the URL without www prefix i.e.,
http://myweb.com/?user=NAME
it doesn't work. I intend to let the user have option for the URL. With or without www prefix should be work both of them.
Anybody have any solution, please feel free to let me. Thank you for your help in advance.
Sincerely yours,
Waipot Ngamsaad
---------------------------------
Never miss a thing. Make Yahoo your homepage.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openidenabled.com/pipermail/dev/attachments/20080131/789c4fb9/attachment.html
From oneone at gmail.com Thu Jan 31 20:00:55 2008
From: oneone at gmail.com (Andrew Arrow)
Date: Thu, 31 Jan 2008 20:00:55 -0800
Subject: "Nonce already used or out of range"
In-Reply-To:
References:
Message-ID:
I logged in twice in a row, with less than 60 seconds in between each
login. I found that if I wait a full 60 seconds, it works fine. So I
changed the error message to say "please try again in 1 minute." I'm
using ruby-openid 2.0.3. The site is www.votay.com/login if you'd
like to try. Thanks.
>> "Nonce already used or out of range"
>>
>> I get this the 2nd time I log in. Do I have to delete the nonce form
>> the filesystem after each login?
>How do you log in? Do you re-use a (possibly bookmarked) URL?
>Which library (and version) are you using?
From cemkaan at gmail.com Thu Jan 31 22:07:01 2008
From: cemkaan at gmail.com (cem kaan kosali)
Date: Fri, 1 Feb 2008 08:07:01 +0200
Subject: Problem with none-www prefix OpenID server
In-Reply-To: <52581.48671.qm@web36906.mail.mud.yahoo.com>
References: <52581.48671.qm@web36906.mail.mud.yahoo.com>
Message-ID:
just to make it clear
http://www.myweb.com/
and
http://myweb.com/
both goes to same dir , right?
2008/2/1 waipot ngamsaad :
> Dear Alls,
>
> This is my first message in this mailing group. I need your help. I'm
> running PHP-OpenID server. I provide user OpenID URL in this format
>
> http://www.myweb.com/?user=NAME
>
> which work very fine. However if the user try to enter the URL without www
> prefix i.e.,
>
> http://myweb.com/?user=NAME
>
> it doesn't work. I intend to let the user have option for the URL. With or
> without www prefix should be work both of them.
>
> Anybody have any solution, please feel free to let me. Thank you for your
> help in advance.
>
> Sincerely yours,
> Waipot Ngamsaad
>
> ------------------------------
> Never miss a thing. Make Yahoo your homepage.
>
> _______________________________________________
> Dev mailing list
> Dev at lists.openidenabled.com
> http://lists.openidenabled.com/mailman/listinfo/dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openidenabled.com/pipermail/dev/attachments/20080201/07f54c47/attachment.htm