diff --git a/tests/oidc/test_well_known.py b/tests/oidc/test_well_known.py index cb8595cc..cbc1b511 100644 --- a/tests/oidc/test_well_known.py +++ b/tests/oidc/test_well_known.py @@ -6,8 +6,16 @@ def test_oauth_authorization_server(testclient): assert "https://auth.mydomain.tld" == res["issuer"] assert res["ui_locales_supported"] == g.available_language_codes + res = testclient.get("/.well-known/oauth-authorization-server", status=200).json + assert "https://auth.mydomain.tld" == res["issuer"] + assert res["ui_locales_supported"] == g.available_language_codes + def test_openid_configuration(testclient): res = testclient.get("/.well-known/openid-configuration", status=200).json assert "https://auth.mydomain.tld" == res["issuer"] assert res["ui_locales_supported"] == g.available_language_codes + + res = testclient.get("/.well-known/openid-configuration", status=200).json + assert "https://auth.mydomain.tld" == res["issuer"] + assert res["ui_locales_supported"] == g.available_language_codes