SSO allows your users to login through your own authentication system. You need to enable Single Sign On and configure sign-in type in OneSky Web Platform first.
Instruction: http://developer.oneskyapp.com/api/#/sso/get-link
- time (required) — Current Unix timestamp (UTC) in integer form. For checking whether the request has expired.
- id (required) — The unique ID of the user in your application. Can be of any type. We recommend using email address.
- name (required) - The name of your user to be displayed in OneSky. Free-style.
- data (required) - The SSO data to ensure your request is valid.
- locale (optional) - The locale you want to be accessible by this user.
- project (optional) (requires locale) - Project IDs you want to be accessible by this user. Comma separated. If it is not specified, we will add this user as a collaborator to all your projects containing the specified locale.
data = MD5( CONCATENATE( YOUR_SSO_SALT, time, id, project, locale ) ); // Beware of the order of strings
https://translate.oneskyapp.com?data=SSO_DATA&[email protected]&time=1300000000&name=Peter&locale=fr_FR&project=1,2,3
- Create a link in your site.
<a href="/help-me-translate">Help translate</a>.
- Use your own user session to generate the SSO link and redirect the user to the generated link.