Skip to main content
Agents are users who are authorized to act on behalf of a customer. Plandalf supports many different types of agent-customer relationships, such as:
  • The Agent is the customer (1-1)
  • The Agent is a member of a group which acts as the customer (many-1)
  • The Agent is a member of multiple groups which belong to the same customer (1-many)
  • The Agent is a member of multiple groups, where each group is a separate customer (many-many)

JWT authorization

Plandalf SDK is authorized using a JWT signed with the api secret for your client.

Claims

Node.js

jsonwebtoken is a popular library for creating and verifying JWTs. Install jsonwebtoken
Create a JWT and pass it to your front end template
At this point, the JWT token can be passed to the front end template and used to initialize the plandalf SDK.

PHP

Example claims