Tagged: OpenID

Plugin Loading for Ruby on Rails has Changed.

I am tired of recreating the login system for Rails for each new project so using the RESTful Rails Authentication Tutorial I created a template project that I can use to create new projects. While adding in the OpenID Authentication component I started getting this error:

/Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:376:in `new_constants_in': You have a nil object when you didn't expect it! (NoMethodError)

after I installed this OpenID plugin.

The problem occurs because Rails has changed the way that plugins are loaded. The default folder name was:

josh-open_id_authentication-ruby_openid_2
I renamed it to:

open_id_authentication
and everything started working again.

Continue Reading →

Turn WordPress Into Social Butterfly

I have been pitching this idea of a distributed social network to everyone that can stand to listen to me. I realize that the conversation around WordPress and the future of social networking is heating up, but as it does I think it is important to begin thinking about implementation. It is fun to philosophize, but at the end of the day users want some toys to play with.

Chris Messina lays out his vision and the particular functionality associated with it on his wiki. Automattic picked up Buddy Press, and the code is still available on Google Code. For historical reasons here's a thread on the WPMU forums about the activity around Buddy Press. There is another social plugin for WordPress called Xiando]4 that hasn't gotten a lot of attention. We are going to do our part and contribute as well.

As part of an effort to build a social network for Teachers Without Borders we came to a realization that it would be hypocritical to create a network filled with borders. Thus, we began t...

Continue Reading →

Facebook as an Authentication System

I have been playing with OpenID for about a year now. It is a very cool, distributed authentication system. The concept is great and I love that I don't have to create accounts everywhere. Instead, I just log in with OpenID and away I go. The biggest shortcoming for OpenID from a user perspective however is the fact that you have to remember a url. People aren't very good at that. I have my OpenID mapped through justinball.com which is easy to remember, but most people don't have that luxury and if your name is Bill Smith or Sam Jones you are not likely to own the corresponding domain.

Over the past week I have had some time to play with the Facebook APIs. Before I became a Facebook fan I could not figure out why anyone would use the stupid thing. Quite frankly before my friends started showing up in the system there wasn't a good reason. Facebook really depends on the network to be meaningful to an individual, but I digress.

So I am playing with Facebook in a number of ...

Continue Reading →

Edge Rails, OpenID and the Dreaded Sorry, the OpenID verification failed” error

We use Edge Rails in our projects. Call me stupid if you like, I like living on the edge (get it?). This desire to push our luck has bitten us a couple of times, but not in any serious way. Not until recently anyway. We use OpenID - another brand new cool technology. The combination of Rails and OpenID has been great.

Then one day it all stopped working and my PPH (Profanity Per Hour) went through the roof. We have Capistrano setup. I had another guy deploy 51week and OpenID stopped working and started giving me the dreaded "Sorry, the OpenID verification failed" error. I deployed it and it started working. "Very strange I thought to myself," but I was just glad it was working. Then Joel starts working on igagus. He can't login because of the dreaded "Sorry, the OpenID verification failed". We make some changes and notice that igagus no longer works.

WTF?

So I spend some time searching and can't find anything. I spend some time chatting with the Ja...

Continue Reading →

Edge Rails, OpenID and the Dreaded Sorry, the OpenID verification failed” error

We use Edge Rails in our projects. Call me stupid if you like, I like living on the edge (get it?). This desire to push our luck has bitten us a couple of times, but not in any serious way. Not until recently anyway. We use OpenID - another brand new cool technology. The combination of Rails and OpenID has been great.

Then one day it all stopped working and my PPH (Profanity Per Hour) went through the roof. We have Capistrano setup. I had another guy deploy 51week and OpenID stopped working and started giving me the dreaded "Sorry, the OpenID verification failed" error. I deployed it and it started working. "Very strange I thought to myself," but I was just glad it was working. Then Joel starts working on igagus. He can't login because of the dreaded "Sorry, the OpenID verification failed". We make some changes and notice that igagus no longer works.

WTF?

So I spend some time searching and can't find anything. I spend some time chatting with the Ja...

Continue Reading →

How to do OpenID

We are looking at implementing OpenID in the Folksemantic applications at COSL. I have been trying to figure out how to present this new technology to our users. Most people have been adding OpenID alongside their standard navigation. DHH's plugin uses http:// to indicate OpenID using your current login form. The password field disappears once the page notices that you are using http://

I think I like the magnolia is doing it. They make it clear that you are using OpenID and makes a quick case for signing up for an OpenID.

Continue Reading →

How to do OpenID

We are looking at implementing OpenID in the Folksemantic applications at COSL. I have been trying to figure out how to present this new technology to our users. Most people have been adding OpenID alongside their standard navigation. DHH's plugin uses http:// to indicate OpenID using your current login form. The password field disappears once the page notices that you are using http://

I think I like the magnolia is doing it. They make it clear that you are using OpenID and makes a quick case for signing up for an OpenID.

Continue Reading →

OpenID and David Heinemeier Hansson

After the Two Revolutions session I had a few minutes to talk to DHH. First I must say he is just a very nice guy. Programmer envy over. I had a discussion about OpenID. It is going to be a critical component of the next rev of our apps. OpenID hasn’t reached a level where it has the same blessing as REST or Atom. David feels that these protocols have one and the Rails team is willing to throw their weight behind them. OpenID will likely remain a plugin for now. After spending some time with the guys developing OpenID it was interesting to get DHH’s perspective. OpenID 2.0 is coming. It has more stuff. More features etc. DHH worries that it will detract from the simplicity.

I also had a conversation about releasing code on edge Rails. 37signals has no problem with it at all. DHH told me to freeze a version, test that and then release. This is a bit of a mind shift from the big frameworks like .net or java. If you release on a beta of either of those you will get fired and maybe sued. M...

Continue Reading →