Plugin Installation Flow
OAuth installation flow between TRMNL and your web server.
Last updated
OAuth installation flow between TRMNL and your web server.
Last updated
Installation Request
When the user installs your plugin, TRMNL sends an installation request to installation_url
with unique token
and installation_callback_url
.
Fetch Access Token
After receiving the request, Your server using the client_id
, client_secret
and token
from step#1 request the access_token
from TRMNL using the following endpoint:
Access Token
TRMNL responds with the access_token
Installation Callback
Use the installation_callback_url
from Step #1 and redirect the user back to TRMNL.
Success Webhook
After the user has successfully finished installing the plugin, TRMNL sends a success notification to installation_success_webhook_url
endpoint. Data is sent in JSON format with the following body structure: