Skip to main content

You will need to do the following to add a new app on Odnoklassniki:

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”.

Odnoklassniki Games section

Add application.

Add application to Odnoklassniki

Click on "Enable OAuth" button.

Odnoklassniki enable OAuth button

And fill out the form.

Odnoklassniki application 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.