Skip to content

App

An app is a registered application in the Samna platform. Apps configure OAuth properties, custom fields, and branding to integrate with the Auth service.

OAuth Configuration

Each app registers its redirect URI, JWKS endpoint, and client secrets. When a user authenticates through an app, Auth uses this configuration to issue tokens and redirect the user back to the correct application.

Properties

PropertyPurpose
NameDisplay name of the application
SlugURL friendly identifier for routing
Redirect URIWhere to send the user after authentication
JWKSJSON Web Key Set for token validation
ProvidersWhich OAuth providers this app supports
StylingCustom colors and branding

Custom Fields

Apps can define custom fields using JSON Schema. These fields extend the data model for users and objects within that application. When a user interacts with the app, they can fill in app specific metadata defined by these schemas.

App Users

Each user that interacts with an app gets an app user profile. This allows the same person to have different usernames, avatars, and metadata across different applications while maintaining a single underlying identity.