def METHOD_NAME(_context, request):
    user_svc = request.find_service(name="user")
    return OAuthProviderService(
        oauth_validator=OAuthValidator(session=request.db, user_svc=user_svc),
        user_svc=user_svc,
        domain=request.domain,
    )