Skip to main content
Filter by
Sorted by
Tagged with
3 votes
1 answer
109 views

I'm extending the Devise invitations controller to lookup the email of the invitee to pre-populate the registration form. I'm getting an error: #<AbstractController::ActionNotFound: "Could not ...
Aaron Humerickhouse's user avatar
0 votes
0 answers
57 views

It is somewhat unclear to me given the rails guide instructions how to define the verified_user. The documentation suggests: if verified_user = User.find_by(id: cookies.encrypted[:user_id]) if ...
Jerome's user avatar
  • 6,353
0 votes
1 answer
82 views

I am creating an api in rails and I am implementing the authentication with devise gem. Right now I am creating a custom verify endpoint but I am getting the following error: Unknown action Could not ...
NaguiHW's user avatar
  • 167
0 votes
0 answers
85 views

I’m working on a Rails 8 API application where I have separated API routes from my admin panel: namespace :api do get 'test', to: 'clerk_test#index' end devise_for :admin_users, ActiveAdmin::Devise....
Mezbaul Islam Aunik's user avatar
0 votes
1 answer
60 views

I am building an app using Ruby on Rails and devise for user authentication. I have a top level user that can create groups and then users can create accounts inside of the group I already have this ...
yungindigo's user avatar
0 votes
1 answer
67 views

I'm trying to add a second user model with devise my original model was User and I was able to add the routes by doing devise_for :users Now I have a nested situation where there is a nested user ...
yungindigo's user avatar
1 vote
1 answer
75 views

I'm building a single-page application using Devise and Devise Token Auth for authentication. Everything works fine in development, but in production, clicking the email confirmation link results in a ...
y4tk8's user avatar
  • 11
1 vote
1 answer
56 views

I'm working on user authentication with Devise, and decided to use session-based authentication for testing my API user login and logout functionality. At the moment the login works, but the logout ...
user26563909's user avatar
0 votes
0 answers
67 views

My Rails app uses Devise (4.9.4) and CanCanCan (3.6.1). I just updated it to version Rails version 7. Since then, the flash messages do not appear anymore when registering as a new user. I have found ...
Joshua Muheim's user avatar
0 votes
0 answers
45 views

An application has the motive to register a user via a distinct process that diverges from the one defined by default by devise (invoking the registrations_controller). The process would be to create ...
Jerome's user avatar
  • 6,353
0 votes
1 answer
35 views

I am using Devise for google oauth. When I sign in via mobile on web browser, after successful authentication I get redirected with desktop view. class Reactors::OmniauthCallbacksController < ...
Bikash Pandey's user avatar
-1 votes
1 answer
426 views

I have a problem is a rails app using the recaptcha gem which uses devise for authentication. What I did I am trying to put Google recaptcha on the "password forgotten" screen users/password/...
Julian's user avatar
  • 106
1 vote
1 answer
85 views

I'm trying to use multi language by domain, for example I have domain.fi.local for language Finnish and domain.es.local for language Spanish and on every of them you can switch to English and I have ...
narovi's user avatar
  • 9
0 votes
1 answer
52 views

I have this problem in ActiveAdmin. When I try to reset a user's password with devise send_reset_password_instructions. member_action :reset_password, method: :get do resource....
Rodrigo Ladrón de Guevara's user avatar
0 votes
1 answer
36 views

Context: I set up a new system using rails-new into a devcontainer. So the dev environment is running inside docker. I'm using a dockerised Selenium Chromium to run my tests. I'm using Devise for ...
John Small's user avatar
1 vote
0 answers
115 views

I have a Rails 8 application where I'm currently using Omniauth + Devise to handle SSO with Microsoft. I also want to allow a logged-in user to perform a separate authorization of a Microsoft app ...
David Claiborne's user avatar
1 vote
0 answers
114 views

I'm currently using Rails 7 and devise_token_auth (1.2.5). We use all the default settings from devise_token_auth and it's been working perfectly. Here is our session controller code: class Api::V1::...
swingfuture's user avatar
  • 1,108
0 votes
0 answers
75 views

So I have a truly bizarre problem and I appreciate any help with it. I have a Rails app (7.0.8.4) that uses devise (4.9.3) to manage session handling. Typically, when a new account is created, the ...
refrigerizer's user avatar
0 votes
0 answers
81 views

I'm trying to add some customs parameters to a devise class. I configured registrations_controller with the method: def configure_sign_up_params devise_parameter_sanitizer.permit(:sign_up, keys: ...
duuu's user avatar
  • 1
1 vote
0 answers
61 views

I just updated my app to rails 8 with the newest version of Devise and hotwire turbo. When running tests with Capybara/Rspec I'm seeing certain form submissions fail with a 500 error from inside of ...
dthegnome's user avatar
  • 133
-3 votes
1 answer
124 views

I did generated devise controllers and views and defined both User and Account models like the following: User class User < ApplicationRecord # Include default devise modules. Others available ...
Michael K Madison's user avatar
1 vote
1 answer
276 views

versions: > ruby -v ruby 3.3.6 (2024-11-05 revision 75015d4c1f) [arm64-darwin24] > rails -v Rails 8.0.0.1 user.rb model: class User < ApplicationRecord devise :database_authenticatable, :...
Nimisha G J's user avatar
0 votes
0 answers
47 views

I'm switching to shallow nesting of Assets (belonging to Entity), and I'm rewriting request specs. For the new shallow routes (e.g. '/assets/1', which was '/entities/1/assets/1'), login_as fails. It ...
BEEK's user avatar
  • 220
0 votes
0 answers
72 views

I have a rails 6.1.7 project with omniauth + devise and a custom openid connect server that I'm connecting to. I'm trying to write a rspec request test for the log out feature with some logic in the ...
NganCun's user avatar
  • 184
0 votes
0 answers
80 views

I have trouble making Devise work in production. When I try to register/login, the following error message appears in the logs: INFO -- : [] Started POST "/users" for x.x.x.x at 2024-10-25 ...
spacemonkey's user avatar
0 votes
1 answer
41 views

Trying to add a basic Profile username attribute to the devise new form but the username field is not rendering on screen. The devise registrations/new.html.haml = form_for(resource, as: resource_name,...
Ricky Mason's user avatar
  • 1,826
0 votes
0 answers
155 views

I have a Rails API using Devise JWT for authentication. When trying to login using Postman it works like a charm: But when I call from my Swift app, I have a 401 Unauthorized with invalid credentials....
jdps's user avatar
  • 359
-1 votes
2 answers
113 views

I made a Rails install 7.2.1, installed Devise basic. I set in my applications controller: def after_sign_in_path_for(current_user) # Assuming 'Dashboard' is a model and you have a show action ...
Havic's user avatar
  • 113
0 votes
1 answer
88 views

Here is my error: No route matches [GET] "/users/sign_out" and this is all routes : Prefix Verb URI Pattern ...
Samy Bellili's user avatar
0 votes
1 answer
149 views

Rails 7 Devise 4.9.4 (with bcrypt (~> 3.0)) User can't login error raised "Invalid Email or password." User reset password and can login with new password after some days he/she can't ...
Mr.Muhammad Ramzan's user avatar
0 votes
0 answers
74 views

I’m encountering an ActionController::InvalidAuthenticityToken error in my Rails application when using the session store configuration with domain: ':all'. The issue appears specifically when setting ...
Abhishek Tanwar's user avatar
0 votes
1 answer
82 views

I have a Rails app and use devise for registration and sign-up of users. Now I want to store the date of the last successful login on the user. Basically I thought about overwriting the create method ...
Julian's user avatar
  • 106
0 votes
1 answer
92 views

Having upgraded Rails from 7.1.4 -> 7.2.1 users can't log in any more. Strangely, this only appears to affect development mode. The problem appears to be caused when the sessions controller calls: ...
knirirr's user avatar
  • 2,949
0 votes
1 answer
52 views

Here I have created many to many association between users and organizations through memberships and It is working fine but What I want is I want the same user(i.e user with same email) to be inserted ...
Rohan Rana Magar's user avatar
0 votes
1 answer
60 views

I have a very simple setup using an Errbit container running on http and an nginx reverse proxy that takes https and redirects it to the Errbit container using http (config file see below). I can not ...
MDickten's user avatar
  • 181
0 votes
1 answer
39 views

I have a rails app that has been using devise / devise_ldap_authenticatable for years to authenticate to AD. The logins started failing and I am seeing LDAP error 8: Stronger auth needed. in the logs. ...
spacerobot's user avatar
1 vote
1 answer
47 views

I have a Rails 6.1 application that uses Devise for authentication. In my application_controller.rb I by default require authentication on all pages: class ApplicationController < ActionController::...
Sara Fuerst's user avatar
  • 6,138
0 votes
1 answer
81 views

My Rails 7 PWA is logging me out: Any time I force close the PWA, and After just a few hours even if the PWA is left running in the background This only happens in the installed PWA on a mobile ...
Matt Heisig's user avatar
1 vote
0 answers
121 views

I am currently integrating SAML authentication into a Ruby on Rails application using the Devise SAML Authenticatable gem, and I've encountered a significant challenge regarding the signature ...
Merouane Amqor's user avatar
0 votes
0 answers
129 views

I have an issue trying to add security-gem features to an app that already has device for login and password management. The objective is to be able to have the password expire and to deny the ...
Alejandra's user avatar
  • 726
0 votes
1 answer
128 views

In my Rails 7 Ruby 3.2.1 app, I'm using Devise and devise-security gems with the paranoid settings enabled (config.paranoid = true). Since a pentest report arrived on my table, I now need to lock a ...
mr_muscle's user avatar
  • 2,950
-3 votes
1 answer
65 views

my apologies for all the pictures I am following a tutorial by Conner Jensen(youtube) on creating an ecommerce platform using rails 7. I have run into a couple of problems whilst following this ...
Mambo Zulu's user avatar
1 vote
1 answer
88 views

I can not believe it is not possible to pass parameters to Devise's timeout method... so I hope someone can enlighten me. I have a Rails application with two mountable engines: A and B. Both engines ...
pabvald's user avatar
  • 11
2 votes
1 answer
96 views

I am building an app in Ruby on Rails 7 that has Admin and User side. after configuring Devise, all of my Devise routes redirect to "home#index". how can I fix this? I inititially thought it ...
Mambo Zulu's user avatar
0 votes
1 answer
98 views

We have a fairly typical Ruby on Rails 6.1 app with a Redis cache store which we are also using for our session store. We are using Devise and an single-page app with lots of graphql requests. ...
Matt's user avatar
  • 1
0 votes
0 answers
286 views

Rate limiting on signup is important to prevent an attacker to create lots of spam accounts in the database and eventually to exhaust database resources or disrupt the flow. Rate limiting on password ...
squeezeitthroughthekeyhole's user avatar
0 votes
1 answer
23 views

I'm using Devise and devise_ldap_authenticatable to allow users to login. I'm using only session controller class Users::SessionsController < Devise::SessionsController layout 'landing' ...
mila002's user avatar
  • 385
0 votes
1 answer
67 views

I have set up a new rails api app and trying to use devise for login, but even with correct email and password getting 401 always Trying to solve it for a couple of days but no luck Below are the ...
Subi's user avatar
  • 23
0 votes
1 answer
222 views

Using expo-auth-session for authentication in a react native app, the browser will open for you to login and you may notice it doesn't close on login/sign up - you may then try to login again and ...
Tim Dowling's user avatar
1 vote
1 answer
52 views

I'm using Devise and devise_ldap_authenticatable gem in my rails app. I want users to be able to log in with their username, not their email address but there is an issue. When I enter my login and ...
mila002's user avatar
  • 385

1
2 3 4 5
301