ruby-on-railsauthenticationauthlogicrpxnowrpx

Trouble with authlogic_rpx


I'm trying to run http://github.com/tardate/rails-authlogic-rpx-sample (only rails version was changed) but get error message http://gist.github.com/385696, when RPX returns information after successful authentication via Google Account. What is wrong here? And how I can fix it?

The code was successfully tested with rails 2.3.3 by its author: http://rails-authlogic-rpx-sample.heroku.com/

I run on Windows with cygwin and rails (2.3.5), rpx_now (0.6.20), authlogic_rpx (1.1.1).

Update

In several hours RPX rejected my app http://img96.imageshack.us/img96/2508/14128362.png

Update2

The same error message ( http://gist.github.com/386124) appears with http://github.com/grosser/rpx_now_example , but in this case RPX allows me to sign in (so far).

Solved

See below


Solution

  • The reason was trailing \r character in my API key. Apparently, non of the steps did key trimming and the exception was not processed in a good way.