diff --git a/app/openbel/api/middleware/auth.rb b/app/openbel/api/middleware/auth.rb
index <HASH>..<HASH> 100644
--- a/app/openbel/api/middleware/auth.rb
+++ b/app/openbel/api/middleware/auth.rb
@@ -13,7 +13,7 @@ module OpenBEL
       ::JWT.decode(token, secret, verify, options)
     end
 
-    def self.check_cookie(env)
+    def self.check_token(env)
       cookie_hdr = env['HTTP_COOKIE']
       auth_hdr = env['HTTP_AUTHORIZATION']
       if cookie_hdr.nil? and auth_hdr.nil?
@@ -90,7 +90,7 @@ module OpenBEL
 
         if check
           begin
-            JWTMiddleware.check_cookie(env)
+            JWTMiddleware.check_token(env)
           rescue Exception => e
             return _401(e.message)
           end
check_cookie -> check_token

We're not exclusively seeing Cookie.