Custom OpenID logon page

18 views
Skip to first unread message

Atle

unread,
Nov 24, 2010, 12:47:31 PM11/24/10
to omniauth
Hi,
I am trying to use Omniauth to support OpenID on a site and have got
everything to work. When I go to auth/open_id I am presented with a
logon form to enter my OpenID. How can I customize this page, or
replace it with a page of my own?

Thanks!

Dmitry Yrtimd

unread,
Oct 22, 2013, 8:31:42 AM10/22/13
to omni...@googlegroups.com, atlek...@gmail.com
Sooo... nobody knows? :) 

I have same question and all I can find is: 

If you are looking to simply replace the default OmniAuth forms with something more friendly to your particular application, you will be able to simply pass a :form option with a Rack endpoint that will render in place of the OmniAuth default form. For example, in a Rails application you might do something like this:

use OmniAuth::Builder do
  provider :example, :form => SessionsController.action(:new)
end
here - https://github.com/intridea/omniauth/wiki/Dynamic-Providers

But unfortunate it clears nothing for me :(

Atle Kessel

unread,
Oct 22, 2013, 2:36:03 PM10/22/13
to omni...@googlegroups.com, atlek...@gmail.com
I got help at the Railsforum and I got it to work. Check here:

Dmitry Yrtimd

unread,
Oct 22, 2013, 2:56:14 PM10/22/13
to omni...@googlegroups.com, atlek...@gmail.com
Thanks a lot! It worked! :))

Although, I saw this line about "openid_url" but probably didn't use it right. Anyway, thanks for help, Atle!
Reply all
Reply to author
Forward
0 new messages