E
E
ericcox2018-07-02 05:31:34
Classmates
ericcox, 2018-07-02 05:31:34

Authorization on the site through Odnoklassniki: getCurrentUser does not return email?

Authorization on the site via OK:
Got all rights
Requested scope=GET_EMAIL during authorization
Requested fields=email in getCurrentUser
API returns only uid
If you remove fields=email
Returns extended information (of course, except email)
All rights are received, everything is done according to the instructions.
Tell me what could be the reason

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Egorichev, 2018-07-02
@MaksimEgorichev

Here, either the user does not have an attached mail, or the request for rights is performed incorrectly.
Can you share the full URL where the user logs in?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question