Hi,

Today, I've been fiddling around with Merb, trying to get OpenID
authentication working with merb-auth.
I found a blog post [1] which described the process, with accompanying
code [2], and followed it (with a few changes).

I've retried it from a clean application several times, trying to copy
the merb-openid-example application, without success.
After a few changes to config/dependencies.rb in merb-openid-example,
it runs on Merb 1.0.12 and it talks to OpenID without any fuss
(confirmed with both OpenID Provider from Google [3] and logging in
the terminal).

I did:
- Create the application
- Add a controller with actions for OpenID
- Add named routes for merb-auth
- Freeze and edit the "unauthenticated" view
- Change the User model
- Setup merb-auth

Now, here's a patch with the latest iteration of tests, maybe someone
can point out to me what I'm doing wrong or missing, because I've been
staring myself blind.

Patch: http://pastie.org/private/u5zuygueam4pa2zx2tq1g

Thank you.

[1] 
http://atmos.org/index.php/2008/10/30/merb-openid-consumer-application-based-on-merb-auth/
[2] http://github.com/atmos/merb-openid-example/tree/master
[3] http://openid-provider.appspot.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to