Skip to content

Use case

Licensing for software marketplaces and reseller sites

Run a marketplace that sells other companies’ self-hosted software? Each company connects its DevEntitle account to your app with OAuth, and you issue licences for every sale on its behalf.

How it fits

  • Companies stay in control

    Each company approves your app on a consent screen, sees exactly which permissions you ask for, and can revoke you at any time.

  • Per-company tokens

    Access tokens last 60 minutes; refresh tokens last 30 days and work once, with reuse detection.

  • Issued licences are labelled

    Licences you issue are marked as coming from your app, with sales channel marketplace.

  • Webhooks for your app

    Endpoints your app adds belong to it and only receive events it could read.

The code

From the copy-paste client files. Never switch features off: show the licence message and hold back updates.

Exchange the authorisation code
curl -X POST https://terminal.deventitle.com/oauth/token \
  -d grant_type=authorization_code -d code=<code> \
  -d redirect_uri=https://market.example.com/oauth/callback \
  -d code_verifier=<code_verifier> \
  -d client_id=de_app_… -d client_secret=de_cs_…

Getting started

  1. 1

    Write to [email protected] with your app’s name, website, redirect URIs and scopes to get registered.

  2. 2

    Send each company to the consent screen with PKCE (S256).

  3. 3

    Exchange the code, store tokens per company, and call the Management API.

  4. 4

    Issue licences with an idempotency key for each order.

The full integration checklist

Questions

Who can connect my app?

Company owners and admins. Owners must use two-factor sign-in.

What happens to licences if a company disconnects?

Tokens stop at once and your webhooks are switched off, but licences you issued stay valid.

Does it cost anything?

No. DevEntitle is free, and it takes no fee on sales.

Other use cases

Add your first product today

Free for software companies. No fees on sales. Your buyers pay you directly.