You will need to do the following to add a new app on Odnoklassniki:
- Register on Odnoklassniki and link an email to your account to receive emails with app data
- Obtain developer rights on Developers portal
After obtaining developer rights you will get a link to add apps or external sites.
Open Games and in the left-hand menu select “My uploads”.
Add application.
Click on "Enable OAuth" button.
And fill out the form.
Set permissions to Allow access to generic profile info.
The redirect_uri should be in the following form:
- http://yourdomain/?target=social_login&action=login&auth_provider=odnoklassniki
- http://yourdomain/cart.php?target=social_login&action=login&auth_provider=odnoklassniki
- https://yourdomain/?target=social_login&action=login&auth_provider=odnoklassniki
- https://yourdomain/cart.php?target=social_login&action=login&auth_provider=odnoklassniki
Note: replace yourdomain with your real domain name including web path to X-Cart.