Odnoklassniki & GET_EMAIL permissions

Hi!
I have a problem with Odnoklassinki social login and receiving email. I'm using SMF 1.x with your plugin. https://forum.grodno.net/

I read in your instructions what i need to obtain GET_EMAIL permission from support
> To obtain the user's email address you must send an email to api-support@ok.ru and request the GET_EMAIL permission for your Odnoklassniki app.
I've contacted with support and got GET_EMAIL permissions from them (at least they have confirmed that).

Auth link to ok.ru is following: https://connect.ok.ru/oauth/authorize?client_id=1260822016&response_type=code&redirect_uri=https://forumgrodnonet.api.oneall.com/socialize/callback.html?state=0559cf76-c548-42e9-affd-3280ecb9929f&scope=GET_EMAIL;VALUABLE_ACCESS

Callback url from ok.ru is: https://forumgrodnonet.api.oneall.com/socialize/callback.html?state=b4d38f33-a21d-4c4e-8e72-d53321a14911&code=18XhFGwbRWvu3wB3eJ2pG57V0254rEuvlYqzcE4kWAbiSLLFIbroe5c63lh3vqKz48DMgfKj8IuMFWcDS2U5n29PKldk0NNjBRnDzYWTC9ENaEYi3HzyFjlbWwUPtZ2l5vxMuCNTL4CLt8vxCFHk4S20opbiIEneTVubME96Cdd6W3&permissions_granted=GET_EMAIL

But logged in users haven't got an email. Also I haven't see email in returning structure from oneall:
stdClass Object
(
[identity_token] => f38f20f6-3ad2-40cb-a5aa-68a0805e21d2
[date_creation] => Sat, 06 Jan 2018 00:09:27 +0100
[date_last_update] => Sat, 06 Jan 2018 21:42:57 +0100
[provider] => odnoklassniki
[provider_identity_uid] => PIUD19B1E8FAD64E64CF9B286375A597624
[source] => stdClass Object
(
[name] => Odnoklassniki
[key] => odnoklassniki
[access_token] => stdClass Object
(
[key] => -s-boAc9EJSum5e9GpK0lHhuy3GylUNDumVTd3CD-FTy-HW8zC.6
)

[refresh_token] => stdClass Object
(
[key] => 7577317251b907fb83355a9f339071fef177f82f47_585958792199_19
)

)

[id] => http://www.odnoklassniki.ru/profile/585958792199
[displayName] => Alexey Rads
[name] => stdClass Object
(
[formatted] => Alexey Rads
[givenName] => Alexey
[familyName] => Rads
)

[preferredUsername] => Alexey Rads
[profileUrl] => http://www.odnoklassniki.ru/profile/585958792199
[thumbnailUrl] => https://i.mycdn.me/res/stub_50x50.gif
[pictureUrl] => https://i.mycdn.me/res/stub_128x96.gif
[gender] => male
[birthday] => 01/01/1970
[urls] => Array
(
[0] => stdClass Object
(
[value] => http://www.odnoklassniki.ru/profile/585958792199
[type] => profile
)

)

[accounts] => Array
(
[0] => stdClass Object
(
[domain] => odnoklassniki.ru
[userid] => 585958792199
)

)

[photos] => Array
(
[0] => stdClass Object
(
[value] => https://i.mycdn.me/res/stub_128x96.gif
[size] => 4:M
)

[1] => stdClass Object
(
[value] => https://i.mycdn.me/res/stub_50x50.gif
[size] => 3:S
)

)

[locales] => Array
(
[0] => stdClass Object
(
[value] => ru
[description] => Russian
)

)

[browser] => stdClass Object
(
[agent] => Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.108 Safari/537.36
[type] => Chrome
[version] => stdClass Object
(
[major] => 63
[full] => 63.0.3239.108
)

[platform] => stdClass Object
(
[name] => Linux
[type] => Desktop
)

)

)


Please help me. What am I doing wrong or maybe problem on ok.ru side or yours?

Thank you in advance, Alex.

    Welcome!

    Please sign in to your OneAll account to ask a new question or to contribute to the discussions.

    Please click on the link below to connect to the forum with your OneAll account.