I have a project using devise_token_auth for authentication. I have installed Active Admin following this.
When I try to access localhost:3000/admin
I get You need to sign in or sign up before continuing.
However, when I comment config.authentication_method = :authenticate_admin_user!
in config/initializers/active_admin.rb
, localhost:3000/admin
opens the dashboard page.
My question is why am I not getting the login page for active admin?