capabilities.work

End User Self-Serve Portal

A 4-step recipe with Kinde. We can help you get access.

Recipe · 4 steps

End User Self-Serve Portal

with Kinde · Entitlement Enforcement

Gather the signed-in user's profile, roles, and entitlements, then issue a portal link.

  1. Read the signed-in user's profile to identify who the portal link is being generated for.
  2. List the user's roles within the active organization to drive in-app authorization decisions.
  3. Fetch the user's billing entitlements so the application knows what the user currently has access to.
  4. Generate a self-serve portal link scoped to the requested area, which the user can be redirected to in order to manage their account.
What you'll need to have ready
  • subnav: The portal area to land the user on (e.g. profile, plan_details, payment_details).
  • returnUrl: URL to redirect the user to after they finish in the portal.
For your developer

Arazzo workflow kinde:end-user-self-serve-portal, 4 operations: getUserProfileV2 → GetUserRoles → GetEntitlements → GetPortalLink. Specs on APIs.io.