OneSky Dev

Single Sign-On Single Sign-On (SSO) allows you to share your own site’s authentication with OneSky, making the login process seamless to your users.

Implementing SSO

Specify your site’s login URL under "Account & Settings > Single Sign-On" (e.g. http://yourdomain.com/sign-in?from=oneskyapp)

Generating the URL via API

Instruction: https://github.com/onesky/sso-documentation

Generate SSO Data yourself

Sso Data is the combination of 4 parameters appended to the request to allow direct sign in.

Parameters

  • int time
    Current Unix timestamp (UTC) in integer form. To validate if the request has been expired.
  • string id
    The unique Id of the user in your application. Could be any type. We recommend using the email.
  • string name
    The name of your user. To be displayed in OneSky. Free-style.
  • string data
    The sso data to ensure your request is valid.
  • data = MD5( CONCATENATE( YOUR_API_SECRET, time, id ) )

Sample Request

https://translate.oneskyapp.com?data=SSO_DATA&id=name@email.com&time=1300000000&name=Peter