Overview
- What the service keeps - (Outline, Contents)
- Signing in - (Outline, Contents)
- Membership and profile - (Outline, Contents)
- Claims reviews - (Outline, Contents)
- Policy - (Outline, Contents)
- Database - (Outline, Contents)
- Testing - (Outline, Contents)
What the service keeps
The members service is where most of what a community knows about someone lives.
Outline
- Sections:
- The shape
- What each piece does
Signing in
Members is a confidential OpenID Connect client of the id service, through openid-client (external site)(github.com/panva/openid-client).
Outline
- Sections:
- Sessions
Membership and profile
A member is keyed by the sub the id service gives them.
Outline
- Sections:
- Joining
- Referrals
- Founding members
- What other services see
Claims reviews
The id service enrols members with FG_ID_SERVICE_MEMBERS_CLAIMS=membership,
so the membership scope is this service's.
Outline
- Sections:
- The API
Policy
The members service asks the organization's policy three things, through @fairgarden/policy (external site)(github.com/fairgarden/policy), as the id service does.
Outline
- Sections:
admitscopesrelease- The organization's rules
- Every decision is recorded
- Failing closed
Database
Drizzle, over pg, the same as the id service: any Postgres, tables prefixed
members_, and an embedded PGlite in .data/members (port 54320) when there
is no database URL.
Testing
Nothing outside this repository is needed — not even the id service.