-
Notifications
You must be signed in to change notification settings - Fork 483
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Add 'Devise And OmniAuth' option #191
Comments
I've written about this topic in my Rails Authentication with OmniAuth tutorial:
I'm open to adding a "Devise with OmniAuth" option to Rails Composer but I'd like to hear what the use case might be. As far as I've seen, many developers blindly use the Devise Omniauthable module when it really is not necessary. |
Here's some very quick outlines of use cases. An example each for a basic Devise with either OmniAuth single or multiple validation. I'd be very happy if you can explain how to do these without Devise and OmniAuth. :) Use case: Agencies and Company Clients using AdWords Tools Second Use Case: Applicant Identity These are two examples over the last year or so, that I know about. Both have a requirement that many users register with a local username/password, but can provide additional proof-of-identity from one or many third party sources - which may be usable to validate further activity. In the first case, authentication is mainly controlled by Devise, but an identity can be optionally tied to AdWords for registrants with specific roles, and a valid token must be claimed by one of these special sets of registered administrators for a company, and only Google OAuth2 validation is required. |
In the first case, I believe you would use Devise with the AdWords API (google-adwords-api gem). In the second case, if you are looking for evidence of activity they are a person with an established social network, I think you'd use Devise plus one or more gems for the social network API, like a Twitter or Facebook gem, because you'd want to see how many friends or posts or date the account was established. In either case, you're looking for more than authentication. No wish here to be contrarian, just want to see the justification for the effort required to implement and maintain the additional feature. |
The authentication options are none, devise or omniauth. No fourth option for Devise with OmniAuth. I'll be adding OmniAuth multi to my Devise by hand, then. :)
The text was updated successfully, but these errors were encountered: