Loved this video and I appreciate the tips about using the main branch and getting access to this feature I wonder if there is a good tailwind template or that woudl be a good idea for a new gem
@SupeRails3 ай бұрын
There's a place for that! github.com/rails/tailwindcss-rails/issues/382
@haroldpepete3 ай бұрын
great video, do you think apart from basic authentication rails would implement oauth out of thee box?
@SupeRails3 ай бұрын
I really really doubt that
@ledockol3 ай бұрын
Спасибо Ярослав за интересное и познавательное видео.
@SupeRails3 ай бұрын
все для вас, дорогі друзі :)
@idreesibrahim5642Ай бұрын
please use following command for now. "bin/rails generate authentication" sessions has swapped with authentication
@SupeRailsАй бұрын
Right!!!
@hellomynameisbenjaminuptonАй бұрын
Glad I found this comment.. Thanks
@HelisltuАй бұрын
Why storing session in cookies is better than storing in session?
@SupeRailsАй бұрын
@@Helisltu this might explain www.rubanonrails.com/2/cookie-based-authentication-with-rails/20/secure-session#http-only-cookies
@yoyobroker81073 ай бұрын
Hilarious thumbnail 😄 Great video 👍
@SupeRails3 ай бұрын
Thanks bro. Although it's a bit misleading. Devise is very good, and it's going nowhere any time soon!
@MidSeasonGroupАй бұрын
@superails please revisit and expound on this built-in feature.
@Pablo-Herrero3 ай бұрын
Is there any good reason to do this? Is the Devise gem dead or troublesome in some way?
@SupeRails3 ай бұрын
No, I do not recommend to use this solution! Devise is perfectly good. I recommend Devise!
@hiphopheadninethreeАй бұрын
Can you do video on how to handle email verification before allowing access to account
@SupeRailsАй бұрын
@@hiphopheadninethree if you are using Devise, use Devise confirmable (Episode 41): superails.com/posts/ruby-on-rails-41-devise-confirmable-no-more-users-with-fake-emails If you are using this (rails 8 authentication), try this: railsbytes.com/public/templates/Xg8sMD !! Curently I do not recommend using Rails 8 native authentication in production. It is 💩 comparing to Devise
@NoobCodeSaga3 ай бұрын
Great!
@SupeRails3 ай бұрын
To be clear, I do not recommend you to use this new Rails auth generator. Devise is way better!
@stpaquet3 ай бұрын
I like to reuse the same conventions as the ones used in Devise. So usually I will have current_user and same for the methods so that I can reuse other gems without any charge (Authorization or Access control for example)
@SupeRails3 ай бұрын
I also like the devise naming. But.... I don't recall of any other gems that rely on having methods like "current_user"...?
@stpaquet3 ай бұрын
@@SupeRails Pundit is one. Also many examples for Rolify are based on the Devise conventions (unlike Pundit, I do not think that they are enforcing the conventions)
@tofuman95263 ай бұрын
So what you do for oauth?
@stpaquet3 ай бұрын
@@tofuman9526 OAuth2 gem or doorkeeper.
@mikopiko3 ай бұрын
Finally!
@SupeRails3 ай бұрын
I think we still need to wait a bit for this to be production-ready
@tofuman95263 ай бұрын
What about OAuth implementation?
@SupeRails3 ай бұрын
Check out episode #103 Simple Omniauth without Devise. That's what I use for superails.com/