def METHOD_NAME(context):
    request = context['request']
    return_dict = {}
    for socialapp in SocialApp.objects.all():
        provider = get_socialaccount_provider(providers, socialapp, request)
        return_dict.update({provider: provider.get_login_url(request)})
    return return_dict