Guides · Panopto administration

Setting up a Panopto service account for an integration

The Pulse data confidence page showing how fresh each source is.

A Panopto integration does not sign in as a person, but it does act as one. The API authenticates calls against a user account, so a clean integration needs two things: an API client registered in Panopto, and a local user account for the integration to act as. Getting the two right up front saves the long debugging session later.

The two things to create

  1. An API client. In the admin area, under API Clients, create a client. The type that works for a general integration is the "User-Based Server Application" type, which signs in with a username and password.
  2. A service account. A local Panopto user the integration acts as. Give it the folder access it needs, and make it an administrator only if the integration must reach every folder.

The two are a pair: the client describes the application, and the service account is the user whose permissions the application borrows.

The type matters

Panopto offers more than one client type, and they are not interchangeable:

  • User-Based Server Application signs in with a username and password and can reach the full API.
  • Server Application (client credentials) signs in without a user and can reach only a small subset, mostly remote recorder calls and public content.

For anything that reads or changes sessions and folders, the user-based type is the one. A client-credentials client will quietly see almost nothing.

A further trap: the service account must be a local Panopto account. An account that signs in only through single sign-on will not work, because the password grant cannot drive an SSO login.

How the token request works

The integration asks for a bearer token and then sends it on every call:

  • It posts to the token endpoint with the client id and secret, the service account's username and password, and a scope of api.
  • The reply contains a token that is sent on the requests that follow.

Bradawl's Copy Sessions tool uses exactly this path, which is why the two parts above are set up before it is switched on.

Trigger and action rules, including how an integration acts on a schedule

The permission rule to remember

The API sees what the service account sees. A list call returns the folders the account can open, and nothing more. If an integration returns half the folders, the fault is usually the account's folder access, not the API. A 401 is an authentication problem; a 403 is a permissions problem.

A worked example

At a demo university the team sets up an integration:

  • An API client of the user-based type is created.
  • A local service account "lecture-capture-reader" is created with viewer access to every course folder.
  • The token request uses that account, so the integration reads every course recording but can change nothing.

The same account is later given creator access on one folder only, and the integration can then write there alone.

If you would like to see what a read-only check looks like on invented data, build a demo university.

Bradawl Pulse

Bradawl Pulse works with Panopto and Blackboard. It checks that each booked lecture was recorded, reached its course page and is open to students, and reads the learning system read-only.

See Bradawl Pulse

Related guides

Panopto, Blackboard, Moodle, Canvas and Microsoft Teams are trademarks of their owners. Bradawl is independent and not affiliated with them.