Authentication-Zero: What Rails 8 Authentication Wants to Be When It Grows Up | SupeRails

Поделиться
HTML-код
  • Опубликовано: 25 ноя 2024

Комментарии • 10

  • @angeloc700
    @angeloc700 8 дней назад

    This gem is pretty cool!!

  • @ledockol
    @ledockol Месяц назад +1

    Yaroslav, thanks for another great video on authentication in Ruby on Rails. Your tutorials are incredibly helpful and save us a lot of valuable time. Looking forward to more!
    Слава Україні!

    • @SupeRails
      @SupeRails  Месяц назад +1

      Thanks Alexander! Nice to see you here bro

  • @PankajDoharey
    @PankajDoharey Месяц назад +1

    ohh i agree. I have been using this gem amazing.

    • @SupeRails
      @SupeRails  Месяц назад

      What additional options/plugins are you using with the gem? --invitable?

  • @ianadams2746
    @ianadams2746 Месяц назад +1

    Any hints for using this under Rails 8 Beta 1? As an experiment, I tried installing the gem, but "rails generate authentication" command needed to generate the authentication-zero framework is now the exact command used by Rails 8 to generate its native authentication framework. So far, the only thing I can think to do it generate a dummy 7.2 app, install the gem there, and copy the generated files over to a Rail 8 app. 🤷

    • @lazaronixon2192
      @lazaronixon2192 Месяц назад +1

      Hey, what's up? That's weird. I worried about that, so I tested it with Rails 8. The original rails command should be overridden by the authentication-zero one. Since the generated files are similar, maybe have you make a mistake!?

    • @ianadams2746
      @ianadams2746 Месяц назад

      @@lazaronixon2192 Wow, I must have made a mistake, because I just tried it again, and this time it worked like a charm:
      rails new authz0-test-tailwind -c=tailwind --main --version 8.0.0.rc1
      cd authz0-test-tailwind/
      bundle add authentication-zero
      rails generate authentication
      Thanks!

  • @octothorpe12
    @octothorpe12 Месяц назад +1

    The opacity of Devise was always the reason as a n00b not to use Devise. This looks much better for me, as I can see/reference all the code.

    • @SupeRails
      @SupeRails  Месяц назад

      Tbh as a noob I was happy to just have devise and not worry/care about authentication. Only years later I had the time to dive into how it actually works