前提
Rails 5.2.0
です。
結論
before_action :digest_authenticate
だめなやつ
before_action :authenticate
before_action :digest_auth
Rails 5.2.0
です。
before_action :digest_authenticate
before_action :authenticate
before_action :digest_auth