Skip to content

Rails: Prefer Devise for Authentication #736

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

stevepolitodesign
Copy link
Contributor

This might be controversial since we maintain Clearance, but I've
found that I've only been on projects that use Devise during my time at
thoughtbot.

Although Rails introduced an authentication generator, I feel that
Devise it still preferable for the following reasons:

  • It receives frequent security updates, whereas you're on your own with
    a generator.
  • It's widely adopted in the Rails community.
  • It has a rich ecosystem.

This might be controversial since we maintain [Clearance][], but I've
found that I've only been on projects that use Devise during my time at
thoughtbot.

Although Rails introduced an [authentication generator][], I feel that
Devise it still preferable for the following reasons:

- It receives frequent security updates, whereas you're on your own with
  a generator.
- It's widely adopted in the Rails community.
- It has a [rich ecosystem].

[Clearance]: https://github.com/thoughtbot/clearance
[authentication generator]: https://guides.rubyonrails.org/security.html#authentication
[rich ecosystem]: https://github.com/heartcombo/devise?tab=readme-ov-file#extensions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant