I'm currently developing my first application with Rails and Hotwire. It includes a comment form visible to all users. When unauthenticated users submit it, I'd
I am still getting this error when I'm trying to register new user, but I can log in to created user after refreshing page. Here is code which I'm getting on th
I'm using rails in API mode, with Devise and Devise JWT (for the API), and ActiveAdmin. I had everything working but I've been building out the API controllers
I have tried upgrading my Rails app from 6.1 to 7 and after running bundle app:update I get the following error: rails aborted! NameError: uninitialized constan
Is it possible to have a different devise config for a specific model? I want to have the minimum password length for all user models set to 8 characters, But f
I'm trying to use Omniauth with Facebook for a project but whenever I try to log in with Facebook I get a blank page with just "Not found. Authentication passth
I am trying to get this link to work, performing a DELETE request: <%= link_to "Sign Out", destroy_user_session_path, method: :delete %> However when I c
I cannot figure out how to send a post request to login on devise with devise-jwt I use devise as web authentication, but want to add an endpoint for api authen
I'm trying to add a button to my page that exports a list of the invited users with Devise Invitable. I want to include the invitation_tokens in that list. User
I followed the pull request from the branch to the master (devise) but I'm still having the error and I can't deploy the api to the server anymore I also tried
Rails 6, Devise 4.7.3 I have a forgotten password template in my views as users/passwords/new.html.erb that renders fine, collects an email, and sends that ba
The following main/replica database structure development: primary: <<: *default database: users_development username: deploy_root passw
I'm using Devise + Confirmable for user authentication and Minitest + Capybara + fixtures for testing. I can make working logged in tests for users as long as I
My goal is log in to Swagger API to get access to endpoints. With auth token in future. I tryed to put Devise line in ApplicationController: before_action :au
import RPi.GPIO as GPIO import time GPIO.setwarnings(False) GPIO.setmode(GPIO.Board) ControlPin = [16,18,22,29] for pin in ControlPin: GPIO.setup(pin, GP
I can create user already, but how add roles dynamically? from console or with admin rules? Devise, CanCan. I am new at Rails, but if you will propose me some i
I am using devise for user authentication, how i can request from user, after clicking on sign in button, to enter sms code which is automaticaly sent to his mo