diff --git a/aiohttp_basicauth_middleware/__init__.py b/aiohttp_basicauth_middleware/__init__.py
index 23c5682..21c3a5b 100644
--- a/aiohttp_basicauth_middleware/__init__.py
+++ b/aiohttp_basicauth_middleware/__init__.py
@@ -27,7 +27,7 @@ from aiohttp import web
 from http_basic_auth import parse_header, BasicAuthException
 from aiohttp_basicauth_middleware.strategy import BaseStrategy
 
-__version__ = '1.1.0'
+__version__ = '1.1.1'
 
 log = logging.getLogger(__name__)
 
@@ -56,7 +56,7 @@ def check_access(
 def basic_auth_middleware(
     urls: Iterable,
     auth_dict: dict,
-    strategy: Type[BaseStrategy]
+    strategy: Type[BaseStrategy] = lambda x: x
 ) -> Coroutine:
     async def factory(app, handler) -> Coroutine:
         async def middleware(request) -> web.Response:

example doesn't work. 
TypeError: basic_auth_middleware() missing 1 required positional argument: 'strategy'
```
from aiohttp import web
from aiohttp_basicauth_middleware import basic_auth_middleware
async def public_view(request):
    return web.Response(text='Public view')
async def secret_view(request):
    return web.Response(text='Secret view')
app = web.Application()
app.router.add_route('GET', '/public', public_view)
app.router.add_route('GET', '/secret', secret_view)
app.middlewares.append(
    basic_auth_middleware(
        ('/public',),
        {'user': 'password'},
    )
)
web.run_app(app, host='127.0.0.1', port=80)
```
diff --git a/test/test_strategy.py b/test/test_strategy.py
index 74d138c..b192758 100644
--- a/test/test_strategy.py
+++ b/test/test_strategy.py
@@ -1,3 +1,6 @@
+from aiohttp import web
+
+from aiohttp_basicauth_middleware import basic_auth_middleware
 from http_basic_auth import generate_header
 
 from example.strategy import get_app
@@ -35,3 +38,36 @@ async def test_pass(aiohttp_server, aiohttp_client, loop):
         headers={'Authorization': generate_header('user', 'pass')},
     )
     assert response.status == 401
+
+
+async def test_no_strategy(aiohttp_server, aiohttp_client, loop):
+    async def public_view(request):
+        return web.Response(text='Public view')
+
+    async def secret_view(request):
+        return web.Response(text='Secret view')
+
+    app = web.Application()
+    app.router.add_route('GET', '/public', public_view)
+    app.router.add_route('GET', '/secret', secret_view)
+    app.middlewares.append(
+        basic_auth_middleware(
+            ('/secret',),
+            {'user': 'password'},
+        )
+    )
+
+    server = await aiohttp_server(app)
+    client = await aiohttp_client(server)
+
+    response = await client.get('/public')
+    assert response.status == 200
+
+    response = await client.get('/secret')
+    assert response.status == 401
+
+    response = await client.get(
+        '/secret',
+        headers={'Authorization': generate_header('user', 'password')},
+    )
+    assert response.status == 200

pip install -e .[dev]
parse_log_pytest
requirements.txt
pytest pytest-cov tox
3.6
requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
aiohttp==3.8.6
-e git+https://github.com/bugov/aiohttp-basicauth-middleware.git@8f545a7cbf96ebb411fb2db0c1c93d5bf7f4da08#egg=aiohttp_basicauth_middleware
aiosignal==1.2.0
async-timeout==4.0.2
asynctest==0.13.0
attrs==22.2.0
certifi==2021.5.30
charset-normalizer==3.0.1
coverage==6.2
distlib==0.3.9
filelock==3.4.1
frozenlist==1.2.0
http-basic-auth==1.2.0
idna==3.10
idna-ssl==1.1.0
importlib-metadata==4.8.3
importlib-resources==5.4.0
iniconfig==1.1.1
multidict==5.2.0
packaging==21.3
platformdirs==2.4.0
pluggy==1.0.0
py==1.11.0
pyparsing==3.1.4
pytest==7.0.1
pytest-cov==4.0.0
six==1.17.0
toml==0.10.2
tomli==1.2.3
tox==3.28.0
typing_extensions==4.1.1
virtualenv==20.17.1
yarl==1.7.2
zipp==3.6.0

name: aiohttp-basicauth-middleware
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2021.5.30=py36h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.3=he6710b0_2
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=21.2.2=py36h06a4308_0
  - python=3.6.13=h12debd9_1
  - readline=8.2=h5eee18b_0
  - setuptools=58.0.4=py36h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - aiohttp==3.8.6
      - aiosignal==1.2.0
      - async-timeout==4.0.2
      - asynctest==0.13.0
      - attrs==22.2.0
      - charset-normalizer==3.0.1
      - coverage==6.2
      - distlib==0.3.9
      - filelock==3.4.1
      - frozenlist==1.2.0
      - http-basic-auth==1.2.0
      - idna==3.10
      - idna-ssl==1.1.0
      - importlib-metadata==4.8.3
      - importlib-resources==5.4.0
      - iniconfig==1.1.1
      - multidict==5.2.0
      - packaging==21.3
      - platformdirs==2.4.0
      - pluggy==1.0.0
      - py==1.11.0
      - pyparsing==3.1.4
      - pytest==7.0.1
      - pytest-cov==4.0.0
      - six==1.17.0
      - toml==0.10.2
      - tomli==1.2.3
      - tox==3.28.0
      - typing-extensions==4.1.1
      - virtualenv==20.17.1
      - yarl==1.7.2
      - zipp==3.6.0
prefix: /opt/conda/envs/aiohttp-basicauth-middleware

test/test_strategy.py::test_no_strategy[pyloop]
test/test_strategy.py::test_skip_options_check[pyloop] test/test_strategy.py::test_pass[pyloop]
aiohttp_basicauth_middleware/__init__.py
aiohttp_basicauth_middleware/__init__.py