This page is a step-by-step guide for the process of opening and setting up an external application in Odnoklassniki as part of the Gigya Setup process.

This page is a step-by-step guide for the process of opening and setting up an external application in Odnoklassniki as part of the Gigya Setup process.

Important: Https is required to create an application on Odnoklassniki.

 

Phase 1 - Acquiring developer rights in Odnoklassniki

  1. If you have not done so yet, register as a user on the Odnoklassniki website at http://odnoklassniki.ru/dk?st.cmd=anonymRegistrationEdit&st._aid=AnonymMain_Register_RegisterEdit.


     
  2. Once you register you will be prompted to add a phone number to activate your account. You will receive an SMS message to enter in the next window. Follow the instructions in order to complete the registration.
  3. You will recieve a confirmation after succesfully verifying your phone.


     
  4.  To receive  OAuth2 developer rights: 
  5. In the next step, click on Follow the link to go to the Apps administration page.

Phase 2 - Creating an app in Odnoklassniki

  1. Go to the My Uploaded Games page at http://www.ok.ru/dk?st.cmd=appsInfoMyDevList.
  2. Click the Add App link.

  3. In the Application Settings page:
    1. Enter your app's title.
    2. Shortname (which will be used to create a shortcut link).
    3. Description.
    4. For Application Type, you must select External. Then save this setting by clicking the Save link, directly underneath the Application type section.
    5. Enter URLs for your app's avatar image (128x128 pixels) and two icon images (50x50 and 18x18 pixels). You may also enter a URL for a banner image (208x136 pixels).
    6. For App Link, Enter your website address. Important: This must be https.
    7. Enter  https://socialize.gigya.com/GS/GSLogin.aspx and http://socialize.gigya.com/GS/GSLogin.aspx into the List of permitted redirect_uri field. (It is not necessary to check the Client OAuth authorization box).
      1. If you are using a CName, instead of the above use:
        1. http://<CNAME>/GS/GSLogin.aspx
        2. https://<CNAME>/GS/GSLogin.aspx
    8. Enter a valid URL in the Link to Customer Support Team field.
    9. Enter a valid email address in the E-mail for notifications field.
    10. Be sure Status is set to Public (if you are using this app on a live site).
    11. Under the Permission section:
      1. Setting status (SET_STATUS)  is Required.
      2. Editing photos and photo albums (PHOTO_CONTENT) is Required.
    12. Finally, click the green Save button labeled Сохранить.
    13. You should now see your website (app URL) displayed on the next screen, indicating your setup was successful.
    14. Check your email inbox for the confirmation email from Odnoklassniki. This email contains your application ID, public key and secret key, which are required in order to set up your app in the Gigya console (see next section). You will also need this Secret Key anytime you need to access your app online and/or make any changes to it's settings.


Phase 3 - Configuring Odnoklassniki's Application Keys in Gigya's Website

  1. Open the Providers Configuration page of Gigya's Console.
  2. Select Odnoklassniki from the list of providers.


  3. Paste your Public key, Secret Key, and Application ID that you received in the email from step 2 into the corresponding fields.
  4. If you are using a CNAME check the Enable CName box.
  5. Select Secure redirects only to allow only HTTPS redirects from Odnoklassniki.
  6. Click OK and then Save Settings on the lower right-hand corner.

 

That's it, Odnoklassniki's configuration is complete!  Please note that it might take up to an hour for our system to become synchronized with Odnoklassniki.