OAuth 2.0 / OIDC
Contents
OAuth 2.0 / OIDC#
OpenSPP uses OAuth-style concepts in multiple places.
API V2 authentication (OAuth 2.0 client credentials)#
The official OpenSPP REST API (see APIs) implements an OAuth 2.0 client credentials flow:
Token endpoint:
POST /api/v2/spp/oauth/tokenToken type: JWT (Bearer)
JWT verification uses the shared secret configured via:
OPENSPP_JWT_SECRET(environment variable; recommended for production), orspp_api_v2.jwt_secret(system parameter; generated on install if missing)
Verifiable Credentials (OIDC4VCI)#
OpenSPP also implements verifiable credential issuance flows based on OpenID specifications (OIDC4VCI / OIDC4VP).
Documentation for this area will live under Technical Reference once the VC implementation is finalized.
openspp.org