Solutions Identity & secure architecture

GREAT PEARL / ENGINEERING AREA 03

The right people.
The right permissions.

Make sign-in and access part of the application’s design. Define who can do what, and keep organisational boundaries clear.

A PRACTICAL STARTING POINT

Shape the right
piece of work.

GreatPearl Auth provides a foundation for identity engineering. Handshake explores consent-based device security and support.

  1. 01

    Application authentication & sessions

  2. 02

    Role-based permissions & tenant boundaries

  3. 03

    Identity-aware application architecture

IDENTITY ENGINEERING WALKTHROUGH

Step-by-step:
How we engineer identity & access.

A technical breakdown of our authentication pipeline, Argon2id password verification, multi-tenant isolation and deterministic session lifecycle.

Four-step GreatPearl Auth diagram showing client admin site, login screen, Argon2 password verification and session creation, and dashboard
STEP 01 / END-TO-END AUTHENTICATION PIPELINE

4-stage login, Argon2 verification & session issuance

  • POST /auth/login
  • Argon2id Hashing
  • PostgreSQL Session Store
  • OAuth / SSO Providers
  1. 1. Client redirect to central login: Unauthenticated requests to the client/admin portal redirect cleanly to the GreatPearl Auth login endpoint.
  2. 2. Credential & provider capture: The login screen accepts email/password credentials (or configured Google, Microsoft and Facebook OAuth providers) and dispatches `POST /auth/login`.
  3. 3. Argon2 verification & DB session: The backend validates input, looks up the user record, verifies the Argon2 password hash and writes a stateful session token to PostgreSQL.
  4. 4. Authorized dashboard hydration: Only after session creation does the user enter the GreatPearl Auth Admin Portal to manage users, groups, providers, sessions, security and logs.
Actual GreatPearl Auth public sign-in interface with account fields
STEP 02 / HARDENED SIGN-IN INTERFACE

Default-deny public authentication gate

  • Default-Deny Gate
  • Zero Pre-Auth Exposure
  • 256-Bit CSPRNG Tokens
  • Strict CSP & HSTS
  1. 1. Unauthenticated view isolation: Protected workspace DOM nodes and navigation controls are withheld until a live server session check succeeds.
  2. 2. Credential input sanitization: Account identifier and password fields enforce strict client and server validation without leaking account existence on failure.
  3. 3. Opaque session binding: Successful sign-in issues a 256-bit cryptographically random session token bound to the user and tenant context.
Add New Tenant interface design showing subdomain binding and default security policy toggles
STEP 03 / MULTI-TENANT ENVIRONMENT ISOLATION

Tenant onboarding, subdomain binding & policy controls

  • Subdomain Isolation
  • Tenant-Scoped Schemas
  • Audit Logging
  • Security Policy Toggles
  1. 1. Dedicated tenant namespace: Each client organisation is provisioned with a distinct tenant record, administrative contact, plan tier and dedicated subdomain (`.greatpearl-auth.com`).
  2. 2. Granular service activation: Core capabilities—Login Service, User Management, Email Service, OAuth Providers, Audit Logging and Security Policies—are toggled per tenant.
  3. 3. Relational boundary enforcement: Composite database keys ensure users, sessions and audit trails cannot cross tenant boundaries.
Flowchart illustrating saved session check, token expiration validation, session clearing and credential login
STEP 04 / SESSION VALIDATION DECISION TREE

Deterministic token check, expiry & renewal logic

  • Session State Machine
  • Token Expiry Guard
  • Automatic Session Purge
  • Client + Server Validation
  1. 1. Startup session inspection: On application boot (`APP STARTS`), the client checks for an existing saved session token, cookie or JWT.
  2. 2. Expiration & revocation branch: If a token exists, the system validates its signature and expiry window; expired or revoked tokens immediately trigger `Clear Session` and return to the Login Screen.
  3. 3. Pre-flight & server authentication: When logging in, client-side syntax validation runs first (`Fail` shows inline error; `Pass` dispatches to server) before loading the authenticated user context.
GreatPearl Handshake representative sign-in interface with invitation-only access, pre-session device verification and Botswana Coat of Arms (PULA) signature
STEP 05 / GREATPEARL HANDSHAKE DEVICE TRUST

Invitation-only access & pre-session device verification

  • Cryptographic Device Identity
  • Invitation-Only Enrolment
  • Pre-Session Verification
  • Explicit Consent Gate
  1. 1. Invitation-gated sign-in: GreatPearl Handshake restricts entry to invited organisation accounts (`Work email` + credential verification) with no open self-registration.
  2. 2. Pre-session device verification: Before a session begins, the endpoint validates cryptographic device identity, tenant binding and explicit `Trust this device` enrolment state.
  3. 3. Security-first administration boundary: Enforces the core Handshake rule—`Security first. Remote administration second.`—requiring verified access and consent before any support or collaboration capability.

BRING YOUR CONTEXT

A few questions.
A clearer direction.

No technical specification needed. Start with what you know; we’ll discuss the requirements and dependencies together.

01Who needs access to the application?

02What roles and boundaries are required?

03Which sign-in systems already exist?

Start the conversation

Scope & commitments

No security guarantee, certification, penetration-testing accreditation or incident-response SLA is implied. Any security assessment requires an agreed scope and explicit authorisation.

YOUR NEXT MOVE STARTS HERE

Something in mind?
Let’s make it happen.

Tell us what’s getting in the way, or what you want to build. We’ll work through the fit and next step together.

Tell us about your project Or start on WhatsApp

RAMOTSWA, BOTSWANA SOFTWARE · SYSTEMS · IDENTITY