Skip to content

Omniauth with multiple models #613

Closed
Closed

Description

@hlegius

Hi, guys!

Omniauth has a kind of limitation with multiple models? I'm using Omniauth with Devise. My application has two models that can log in with Facebook, Twitter and so on: Customer and Manager.

With one model, everything works VERY well but, when I tried to setup Customer model I got an error that told me: omniauth can't works with more than one model.

Is this true? You working on it? There's another way to do this kind of authentication with omniauth?

Thanks for all help and this nice gem! =)

Activity

  1. miguelperez commented on Jul 31, 2012

    @miguelperez

    I'm having the same exact problem... And I've been trying to find another solution, so far I have found nothing. Help with this would be greatly appreciated.

    By the way, great work with this gem. Thanks so much for it!.

  2. raphendyr commented on Jun 26, 2013

    @raphendyr

    Argh.. I just thought this would be devise/gitlab limitation. Well now I know I can't fix this in that end...

  3. mbleigh commented on Jun 26, 2013

    @mbleigh
    Contributor

    OmniAuth doesn't rely or care about models, there's no reason you can't use
    it with multiple.
    On Jun 26, 2013 1:49 AM, "Jaakko Kantojärvi" [email protected]
    wrote:

    Argh.. I just thought this would be devise/gitlab limitation. Well now I
    know I can't fix this in that end...

    —
    Reply to this email directly or view it on GitHubhttps://github.com//issues/613#issuecomment-20034145
    .

  4. raphendyr commented on Jun 26, 2013

    @raphendyr

    Someone should then close this issue...

  5. added theissue type on Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions