

@login_notrequired
def oauth_authenticated(request):
    access_token = OAuthBackend.handleAuthenticationRequest(request)
    if (request == ''):
        return show_login_page(request, True)
    user = authenticate(access_token=access_token)
    login(request, user)
    redirect_to = request.REQUEST.get('next', '/')
    return HttpResponseRedirect(redirect_to)

dataset/ETHPy150Open cloudera/hue/desktop/libs/liboauth/src/liboauth/views.py oauth_authenticated/VarMisuse@24/34 `access_token`->`request`