Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed. We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

[Solved] HTTP ERROR 500 when try to social login via ok.ru

8 Posts
2 Users
1 Reactions
3,336 Views
(@kingstakh)
Active Member
Joined: 7 years ago
Posts: 12
Topic starter  

Login via Facebook, VKontakte, Google+ work perfect, but when try login via OK.RU have HTTP ERROR 500. Have idea?


   
Quote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 8 years ago
Posts: 6444
 

Hi kingstakh, 

please leave your website URL to allow us to check it. 


   
ReplyQuote
(@kingstakh)
Active Member
Joined: 7 years ago
Posts: 12
Topic starter  

Check it in this post 


   
ReplyQuote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 8 years ago
Posts: 6444
 

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.

OAuth isue

   
ReplyQuote
(@kingstakh)
Active Member
Joined: 7 years ago
Posts: 12
Topic starter  

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


   
ReplyQuote
(@kingstakh)
Active Member
Joined: 7 years ago
Posts: 12
Topic starter  

OAuth authorization enabled and specify a redirect_url, but nothing, error 500()

screencapture ok ru dk 2018 08 09 12 27 53
This post was modified 7 years ago 3 times by kingstakh

   
ReplyQuote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 8 years ago
Posts: 6444
 

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.

   
kingstakh reacted
ReplyQuote
(@kingstakh)
Active Member
Joined: 7 years ago
Posts: 12
Topic starter  

Fixed! Thank you!


   
ReplyQuote
Share:
Scroll to top