Skip to Content
Xeonr Developer Docs
API Specification

xeonr.auth.api.v1.ApplicationInvitationService

ApplicationInvitationService lets a product invite a person by email to its OWN application (FRG-447): someone outside every team the application is entitled to, whom the product means to give access to one of its own resources (the forge giving a collaborator a repository). It is the email invitation the console's ApplicationService already has (CreateApplicationInvitation), opened to the product's service account: a pending enrollment addressed to the email that becomes a real enrollment on that address's first sign-in to the application, when the signed-in account's VERIFIED email matches. Accepting it enrolls the person in the application and nothing else: it makes them a member of no team, and the invitation carries no roles. Service accounts only, and only a platform application's own: every method refuses a person's token, is confined to the calling service account's application, and needs `auth:application-invitations:manage:own`, which no client holds until an organisation administrator approves it on the product's binding to the auth application. `invited_by_user` is the person in the product who asked; the invitation names them as the inviter (the email says who invited), and the service account is recorded as the actor.