OpenID trhows action not found "show". Routes seems right.

try adding: map.root :controller => "home"

Probably the authentication site is redirecting you to the root of your application, and you have to controller linked tobe the "root" controller for the site.

Rey9999

Carmine Moleti ha scritto:

My bad... I didn't see you already linked the root to 'welcome'... Maybe the authentication site is redirecting you to the user page, and from what I remember, restful_authentication does not include a show action when you generate the scaffold for the authenticated user (I can be wrong, though).

Rey9999 wrote:

My bad... I didn't see you already linked the root to 'welcome'... Maybe the authentication site is redirecting you to the user page, and from what I remember, restful_authentication does not include a show action when you generate the scaffold for the authenticated user (I can be wrong, though).

It's ok :slight_smile: I'm, slowly, finding the solution. I am using ExtJs to make the login form, and it works submitting via AJAX, this is not compatible with what the open_id_authentication plugin does.

It, infacts, redirects to the openid server page, which in turn triggers a failure on the AJAX request.

So the problem is not with the openid code, but with the AJAX request and the redirect.

Now it's a matter of either finding a way to make ExtJs understand the redirect, or force ExtJs to submit the traditional way. If you have any advices, please help me :slight_smile:

Thanks again for your support!