Sarath and Lee Ching

*BASE_URL + /oauth2/access_token*

make a post request, username can be the username or email
make the payload as a form (eg. FormData in Javascript) with this values: 
var data = new FormData() data.append('grant_type', 'password') data.append(
'client_id', config.CLIENT_ID) data.append('username', email) data.append('
password', password) Happy coding!


-- 
You received this message because you are subscribed to the Google Groups 
"General Open edX discussion" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/edx-code/159a8c28-ed76-43aa-aa33-f844af1d2343%40googlegroups.com.

Reply via email to