unable to login to parse server with php code

66 views
Skip to first unread message

Giresse Ayefou

unread,
Jan 24, 2017, 1:50:55 AM1/24/17
to back{4}app
hello,
i created user in parse dashboard
when i try to login with that user with php code i get this message: {"reponse":"failed","message":"unauthorized"}
here is my initialisation
ParseClient::initialize('NVZSpg6rr0CTH0XWY5Tjn0BcdT775pL4SZ5qvXXz', '', 'j3DIC62RpflucwOUPqPQQxuGNsqY2Ypdnld69zJ2');
ParseClient::setServerURL('https://parseapi.back4app.com','parse');
what can be a problem
thank you in advance

casag...@back4app.com

unread,
Jan 24, 2017, 7:27:18 AM1/24/17
to back{4}app
Hello!

Try initializing like this:

ParseClient::initialize('YOUR_APP_ID', 'REST_API_KEY', 'MASTER_KEY');
ParseClient::setServerURL('https://parseapi.back4app.com','/');

Best!
Reply all
Reply to author
Forward
0 new messages