Hi,

    I am using Django 1.9.8 and implemented OAuth2, but when i upgrade 
django to 1.11 my to OAuth2 Token generation gets errors,
    this is my code to generate token:
    
*   data = [*
*      ('grant_type', 'password'),*
*      ('username', userName),*
*      ('password', password),*
*    ]*
*   accessTokenObj = requests.post(coreUrl, data=data, verify=False, 
auth=(DjangoApp_ClientId, DjangoApp_ClientSecret))*

    Any kind of hep will be appreciated in advance.

Regards,
Haroon Ahmed

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/0964f3b5-4233-471e-960d-4c5ea36bef5c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to