Need help with Vuukle?🤔

This is the place you are looking for!

What is SSO and how to enable it for Vuukle comment widget

Updated over a month ago

sso img

Single sign-on (SSO) is an authentication process that allows a user to access multiple applications with one set of login credentials.

If your site has authorization you can use SSO with Vuukle comment widget.

Firstly email and apiKey are being hashed by SHA512 encryption:

mous@email.com-03c0f2ab-b4d0-11e8-b5fe-42010a94003b

This gives us a signature:

A77EDEAB783A9D2B0B5722EC6816A0D06D3B13DBC1B064CA290A567347DDDDFDC2F87EF50D926D7C9AAC68FACE11FF2A0EACBB7FDA254872F698C3B83DD5B580

General info and the signature are being encrypted by base64:

{
    "username": "Sample User Name",
    "email": "mous@email.com",
    "public_key": "6114fe3e-8d53-45a8-8271-23f7f1f38f49",
    "signature": "A77EDEAB783A9D2B0B5722EC6816A0D06D3B13DBC1B064CA290A567347DDDDFDC2F87EF50D926D7C9AAC68FACE11FF2A0EACBB7FDA254872F698C3B83DD5B580"
}

So the SSO token is generated:

ewogICAgInVzZXJuYW1lIjogIlNhbXBsZSBVc2VyIE5hbWUiLAogICAgImVtYWlsIjogIm1vdXNAZW1haWwuY29tIiwKICAgICJwdWJsaWNfa2V5IjogIjYxMTRmZTNlLThkNTMtNDVhOC04MjcxLTIzZjdmMWYzOGY0OSIsCiAgICAic2lnbmF0dXJlIjogIkE3N0VERUFCNzgzQTlEMkIwQjU3MjJFQzY4MTZBMEQwNkQzQjEzREJDMUIwNjRDQTI5MEE1NjczNDdERERERkRDMkY4N0VGNTBEOTI2RDdDOUFBQzY4RkFDRTExRkYyQTBFQUNCQjdGREEyNTQ4NzJGNjk4QzNCODNERDVCNTgwIgp9

And finally the token can be used to gain momentum and fully secured access to your account.

(function() {
   var d = document,
      s = d.createElement('script');
    s.onload = function() {vuukleLogin("ewogICAgInVzZXJuYW1lIjogIlNhbXBsZSBVc2VyIE5hbWUiLAogICAgImVtYWlsIjogIm1vdXNAZW1haWwuY29tIiwKICAgICJwdWJsaWNfa2V5IjogIjYxMTRmZTNlLThkNTMtNDVhOC04MjcxLTIzZjdmMWYzOGY0OSIsCiAgICAic2lnbmF0dXJlIjogIkE3N0VERUFCNzgzQTlEMkIwQjU3MjJFQzY4MTZBMEQwNkQzQjEzREJDMUIwNjRDQTI5MEE1NjczNDdERERERkRDMkY4N0VGNTBEOTI2RDdDOUFBQzY4RkFDRTExRkYyQTBFQUNCQjdGREEyNTQ4NzJGNjk4QzNCODNERDVCNTgwIgp9")};
    s.src = 'https://cdn.vuukle.com/platform.js';
  (d.head || d.body).appendChild(s);
  })();

This will help you to create smooth UX on your site.