How identity, sessions and access control work in Orazaka. For developers securing a deployment.

Authentication Reference

Complete guide to Orazaka's authentication architecture (local credentials, OAuth2, password recovery).


1. Overview

StrategyModuleConfigurationDescription
Local Credentialskrizaka-users-coreorazaka.identity.auth.localEmail + password hashed with BCrypt
OAuth2 Exchangekrizaka-users-coreorazaka.identity.auth.oauth2.*NextAuth verifies -> Gateway reconciles
Password Resetkrizaka-users-core—Token-based reset with zero-enumeration

[!IMPORTANT] The backend never performs OAuth2 redirects or protocol negotiations. This is handled by NextAuth (BFF). The backend only validates tokens.


2. Local Credential Flow


3. OAuth2 Token-Exchange Flow


4. Password Recovery Flow


5. Security & Invariants


Related Documentation