Ask A Question

Notifications

You’re not receiving notifications from this thread.

Rubu auth without gems

Ivan Willian Cavalcante asked in Rails

Hello, i'm new to the forum and I am in urgent need of help.

I have a client that is asking to change the basic auth in his rails app to an auth that uses a web form, in a page, instead of an ugly browser popup. I need to do it without using gems. Today the app uses basic auth and everytime the ugly browser popup appears asking username and password.

The system has an admin group and a normal user group.

Reply

Hey Ivan,

I haven't covered this yet on GoRails, but I should. This is a good tutorial to follow if you want to build auth from scratch. https://medium.com/@wintermeyer/authentication-from-scratch-with-rails-5-2-92d8676f6836

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 81,842+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

    © 2024 GoRails, LLC. All rights reserved.