activeadmin icon indicating copy to clipboard operation
activeadmin copied to clipboard

OAuth login links don't show up when using omniauth with multiple models

Open thisismydesign opened this issue 4 years ago • 1 comments

I'm using omniauth with multiple models as described in https://github.com/heartcombo/devise/wiki/OmniAuth-with-multiple-models

This means I can't put :omniauthable in the models via Devise but have to configure omniauth providers separately. This is supported fine by devise but unfortunately activeadmin relies on the model setting to show login links

https://github.com/activeadmin/activeadmin/blob/28c3b8a9117cbf2aa6454f285efb05615076d176/app/views/active_admin/devise/shared/_links.erb#L27-L33

I can redefine this view as a workaround, but I was hoping to use the defaults. I would like to have support for this scenario.

thisismydesign avatar Jul 01 '22 15:07 thisismydesign

I'm not sure what the issue here is or the proposed solution. If you have a suggestion to resolve this though please consider submitting a PR. Thank you.

javierjulio avatar Mar 13 '23 00:03 javierjulio