'how to auth sidekiq in a rails api with devise

We added a sidkiq Ui to a rails api with devise, we have admin views for login which are currently working but sidkiq auth is not working

authenticate :admin do mount Sidekiq::Web => "/admins/sidekiq" end



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source