Search code examples
ruby-on-railsopenidauthlogic-oid

authlogic openid: fullname is not a defined simple registration field


I finally got an open id demo app going:

  • rails 2.3.5
  • authlogic openid

When I create a new user in the database, I get the following error:

fullname is not a defined simple registration field

This is after I authorize the localhost,etc.

I don't have fullname anywhere. Any ideas?


Solution

  • Try using a string rather than a symbol. I had the same issue with the email field until I made this change.

    name = registration['fullname'] # Success
    name = registration[:fullname] # Fail