Skip to content

Application registration

Application registration is a complex process as can be read here. Fortunately, we handle it behind the scene so you have nothing to do except configuring a few settings.


Here is an example of a configuration:

const { AppService } = require('@activitypods/app');
module.exports = {
mixins: [AppService],
settings: {
app: {
name: 'Example App',
description: 'An ActivityPods-compatible app',
thumbnail: ''
oidc: {
clientUri: '',
redirectUris: '',
postLogoutRedirectUris: '',
tosUri: ''
accessNeeds: {
required: [
registeredClass: '',
accessMode: ['acl:Read', 'acl:Write']
optional: [
registeredClass: '',
accessMode: 'acl:Read'

App description

The app part of the setting allow you to describe your application. These informations will be displayed to users when they first access your application.

  • name: name of your application
  • description: description of your application
  • thumbnail: square logo of your application (ideally 192x192 pixels)
  • frontUrl: front URL of your application


ActivityPods integrate a full OIDC provider. To register your application with this provider, it needs a few informations:

  • clientUri: The frontend URL
  • redirectUris: The URL to redirect after login. If you use React-Admin, it will usually be /auth-callback
  • postLogoutRedirectUris: The URL to redirect after logout. This URL should delete any token.
  • tosUri: The URL to your terms of service (not used for now)

Access needs

Access needs can be either required or optional. On the authorization screen, the user will be able to toggle out the optional access needs, but not the required access needs, since the application is not supposed to work without them.

Resource types

You can define the resources classes that you want to interact with, either in read or write mode.

If the resource classes is not yet handled by any other application, it will automatically create a LDP container, such as /as/event for ActivityStreams events. The ontology prefix is found using If you use a custom ontology which is not listed in this website, you will get an error, so be sure to add it yourself.

Special rights

The following special rights are allowed: