devise icon indicating copy to clipboard operation
devise copied to clipboard

Flexible authentication solution for Rails with Warden.

Results 275 devise issues
Sort by recently updated
recently updated
newest added

## Pre-check - Do not use the issues tracker for help or support, try Stack Overflow. - For bugs, do a quick search and make sure the bug has not...

Hi, It validates some incorrect emails as valid, like `[email protected]` Change Devise.email_regexp from ``` Ruby /\A[^@\s]+@([^@\s]+\.)+[^@\W]+\z/ ``` to ``` Ruby /\A[\w+\-.]+@[a-z\d\-]+(\.[a-z]+)*\.[a-z]+\z/i ``` Refer to http://stackoverflow.com/questions/22993545/ruby-email-validation-with-regex It can validate correctly.

Use Omniauth.allowed_methods' as routing verbs for the auth path: - ### Context Since version 2.0.0, Omniauth no longer recognizes `GET` request on the auth path (`/users/auth/`). `POST` is the only...

## Pre-check - Created a new rails-app with `rails new app-name -a propshaft -j importmap -c tailwind` - Added `gem 'devise', '~> 4.8', '>= 4.8.1'` to `Gemfile` and followed installation...

Set this in `application_controller.rb`: ``` def after_sign_out_path_for scope root_path end ``` You expect the logout to redirect the user to root. However Devise returns a redirect with status **302**, which...

Re-opening this https://github.com/heartcombo/devise/pull/4834 on main since development of the v5 rc branch seems to have stalled.

## What type of PR is this? (check all applicable) - [ ] Refactor - [ ] Feature - [ ] Bug Fix - [ ] QA Issue Fix -...

Fixes: https://github.com/heartcombo/devise/issues/5505 Changed `resource = warden.user(resource_name)` to `self.resource = warden.user(resource_name)` in [devise_controller#require_no_authentication](https://github.com/heartcombo/devise/blob/main/app/controllers/devise_controller.rb#L114) so that [setter resource =](https://github.com/heartcombo/devise/blob/main/app/controllers/devise_controller.rb#L94) is triggered and instance variable @user is populated.

## Environment - Ruby **2.5.1** - Rails **5.2.8** - Devise **4.5.0** - Warden **1.2.9** - ubuntu **18.04** ## Current behavior When I logon I get the following debug output: [2022-06-02...

Created pull request for this issue: https://github.com/heartcombo/devise/issues/5421