I'm using the openid_authentication plugin to login my users with openid.
On some pages (the one designed for mobile apps), I'd like to provide the openid.ui.mode = "popup"
option so that the provider would display a lighter version of the login page.
Though, it appears the rack-openid gem (on which openid_authentication relies) filters the parameters provided, not allowing anything else than fields.
So doing the following :
authenticate_with_open_id(nil, {'openid.ui.mode' => 'popup'}) do |result|
Does not work.
This might work:
authenticate_with_open_id( nil, {'optional' => {'openid.ui.mode' => 'popup'}})...
If that doesn't work, you can try another OpenID plugin with more features:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With