kodius/oauth-example-multiple-models

Doesn't show multiple models

Opened this issue · 2 comments

Hi, I arrived here from the article here:
https://kodius.com/blog/devise-omniauth-multiple-models/#multiple-models

From my understanding, this code is an example of using Devise Omniauth for multiple models, for example, Users and Admins. Thanks for sharing this. It is a bit confusing for me, though, because the example code doesn't actually show how a second model would be implemented. I assume it would be a simple copy/paste and changing User -> Admin, but I feel like it may be more illuminating to readers if that is explicitly shown.

@ianrandmckenzie bro has the same issue, do you figure out something?

@VStetsyshyn Not yet. I am the sole developer so I am just working through my other mountain of tasks. I have this thread bookmarked for later so I can tag you if I figure something out after picking it back up. It could be a year or more, though, none of my clients have currently asked for OAuth.