Total.js OpenPlatform
Connect Pluginable to a Total.js OpenPlatform, and undo it.
On this page
Pluginable can run as an app inside Total.js OpenPlatform. Then people sign in to OpenPlatform and open Pluginable from there, without the Pluginable sign-in page.

Import the app into OpenPlatform
1. Open Settings and find the Total.js OpenPlatform section.
2. Copy the link that ends with /openplatform.json. It describes the app: its name, its icon, its address and one permission for each plugin.
3. Paste the link into the importing form of your OpenPlatform and finish the registration there. OpenPlatform gives you two tokens.
4. Back in Settings, enter them in Request token and Response token.
5. Select SUBMIT.
What changes
As soon as both tokens are saved:
- You are signed out, and the address
/admin/answers 401: Unauthorized to everybody who does not come from OpenPlatform. - The Pluginable sign-in page stops working.
Check both tokens carefully before you select SUBMIT.
Undo it
If the tokens are wrong, or you want to go back to the Pluginable sign-in, clear them in the database and restart the app:
1. Run this SQL in the Pluginable database:
UPDATE cl_config SET value = '' WHERE id IN ('op_reqtoken', 'op_restoken');2. Restart Pluginable. The sign-in page at /admin/ works again with your admin account.