def METHOD_NAME(self):
    """Test JWKS request with RS256"""
    provider = OAuth2Provider.objects.create(
        name="test",
        client_id="test",
        authorization_flow=create_test_flow(),
        redirect_uris="http://local.invalid",
        signing_key=create_test_cert(),
    )
    app = Application.objects.create(name="test", slug="test", provider=provider)
    response = self.client.get(
        reverse("authentik_providers_oauth2:jwks", kwargs={"application_slug": app.slug})
    )
    body = json.loads(response.content.decode())
    self.assertEqual(len(body["keys"]), 1)
    PyJWKSet.from_dict(body)
    key = body["keys"][0]
    load_der_x509_certificate(base64.b64decode(key["x5c"][0]), default_backend()).public_key()