def METHOD_NAME(self, request: Request, pk: int) -> str:
    """Get Providers setup URLs"""
    provider = get_object_or_404(OAuth2Provider, pk=pk)
    data = {
        "issuer": provider.get_issuer(request),
        "authorize": request.build_absolute_uri(
            reverse(
                "authentik_providers_oauth2:authorize",
            )
        ),
        "token": request.build_absolute_uri(
            reverse(
                "authentik_providers_oauth2:token",
            )
        ),
        "user_info": request.build_absolute_uri(
            reverse(
                "authentik_providers_oauth2:userinfo",
            )
        ),
        "provider_info": None,
        "logout": None,
    }
    try:
        data["provider_info"] = request.build_absolute_uri(
            reverse(
                "authentik_providers_oauth2:provider-info",
                kwargs={"application_slug": provider.application.slug},
            )
        )
        data["logout"] = request.build_absolute_uri(
            reverse(
                "authentik_providers_oauth2:end-session",
                kwargs={"application_slug": provider.application.slug},
            )
        )
        data["jwks"] = request.build_absolute_uri(
            reverse(
                "authentik_providers_oauth2:jwks",
                kwargs={"application_slug": provider.application.slug},
            )
        )
    except Provider.application.RelatedObjectDoesNotExist:  # pylint: disable=no-member
        pass
    return Response(data)