Claude 24f816b6a3
Consolidate 22 sibling repos into layered organism structure
Place useful parts of the surrounding repos into sica-fondt by layer, per the
body model (Ada = membrane; brain/endocrine/capabilities/knowledge non-Ada):

- brain/        LLM reasoning + providers (dapr, hermes, MoMoA)
- capabilities/ REPRAG sidecars: hermes tools/skills, dapr tools, parallel
                dispatch, A51 channels, and the OSINT cluster
- knowledge/    LORAG corpus: 754 cyber-skills, agency personas, secure-coding,
                MITRE ATT&CK data
- reference/    defensive threat-reference (C3, shhbruh doc) + AdaYaml parser

License handling: AGPL sources (worldosint, advanced_evolution, mercury,
Reticulum) and GPL DeTTECT are SPEC-only clean-room/port descriptions — no
copyleft code copied. MIT/Apache/data parts copied as working trees.

Safety: shhbruh escape/persistence material and C3 covert-C2 kept as reference
only, not wired into the running organism. See CONSOLIDATION.md.

https://claude.ai/code/session_01UehUqEXXJJCsHoA4voCU5c
2026-06-10 06:53:01 +00:00

1.5 KiB

OAuth 2.0 Authorization Flow — API Reference

Libraries

Library Install Purpose
requests pip install requests HTTP client for OAuth endpoints
authlib pip install authlib Full OAuth 2.0 / OIDC client library
PyJWT pip install PyJWT[crypto] JWT token validation and inspection

OIDC Discovery Endpoint

GET {issuer}/.well-known/openid-configuration

Returns: authorization_endpoint, token_endpoint, jwks_uri, supported grant types, scopes.

OAuth 2.0 Grant Types

Grant Type Use Case Security
authorization_code Server-side apps Recommended with PKCE
client_credentials Machine-to-machine Service accounts only
implicit (DEPRECATED) SPAs Avoid — tokens in URL fragment
password (DEPRECATED) Legacy Avoid — credentials exposed to client
urn:ietf:params:oauth:grant-type:device_code IoT/CLI Approved for limited-input devices

Security Best Practices

Practice RFC
PKCE (Proof Key for Code Exchange) RFC 7636
Token Binding RFC 8471
DPoP (Demonstrating Proof of Possession) RFC 9449
Sender-Constrained Tokens OAuth 2.0 Security BCP

External References