canaille-globuzma/tests/oidc/test_bad_flows.py
2022-05-19 12:36:39 +02:00

19 lines
430 B
Python

def test_incomplete_requests(testclient, logged_user, client):
testclient.get(
"/oauth/authorize",
params=dict(
response_type="code",
),
status=400,
)
def test_bad_client(testclient, logged_user, client):
testclient.get(
"/oauth/authorize",
params=dict(
response_type="code",
clienrt_id="nope",
),
status=400,
)