Login via Facebook, VKontakte, Google+ work perfect, but when try login via OK.RU have HTTP ERROR 500. Have idea?
Hi kingstakh,
please leave your website URL to allow us to check it.
Hi @kingstakh,
This is the API configuration issue. It seems you've missed enablehttps://apiok.ru/en/ext/oauth /" target="true"> OAuth authorization and specify a redirect_url.
log from server:
194.1xx.xxx.xxx - - [09/Aug/2018:11:32:18 +0300] "POST /wp-admin/admin-ajax.php HTTP/1.0" 200 264
194.1xx.xxx.xxx - - [09/Aug/2018:11:32:23 +0300] "GET /wp-admin/admin-ajax.php?action=wpd_login_callback&provider=ok&code=14yXpNvvIHGyvpf8iuYyH57dCSuUwHRKvgBO0ApmQ5avRv6domEOStFuiLPS2yDFRv14XNXnjTWao9vtQbfU9I3pulxLBDYs9hwI80uCngOZ7hIebuCjJe9C8mukU2XokPNP2h2ddRZtmOstfuRo36MiALylVP5jpzlHahABOZjfEs0&state=e793009423eeabdde7f7e27e868dd8ec HTTP/1.0" 500 20
OAuth authorization enabled and specify a redirect_url, but nothing, error 500()
Hi @kingstakh,
Sorry for the delayed response.
You need to activate the following two accesses VALUABLE_ACCESS and GET_EMAIL.
To open this two accesses you need to write to odnoklassniki.ru support (api-support@odnoklassniki.ru email address).
The email text should include:
- The accesses' names (in this case VALUABLE_ACCESS and GET_EMAIL)
- Your Application ID
- The purpose you are activating Application ID.
Fixed! Thank you!