def test_oauth_authorization_server(testclient): res = testclient.get("/.well-known/oauth-authorization-server", status=200).json assert "https://mydomain.tld" == res["issuer"] def test_openid_configuration(testclient): res = testclient.get("/.well-known/openid-configuration", status=200).json assert "https://mydomain.tld" == res["issuer"]