Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question