Esempio n. 1
0
def register_dailymile(request):
    auth_url = oauth2_url(DAILYMILE_AUTH_URI, settings.DAILYMILE_CLIENT_ID, settings.DAILYMILE_REDIRECT_URI)
    return HttpResponseRedirect(auth_url)
Esempio n. 2
0
def register_geoloqi(request):
    auth_url = oauth2_url(GEOLOQI_AUTH_URI, settings.GEOLOQI_CLIENT_ID, settings.GEOLOQI_REDIRECT_URI)
    return HttpResponseRedirect(auth_url)