Priority: High
Dependencies: Issue 1 (Control Plane HTTP Client)
Description:
Implement OIDC Client Credentials flow for authenticating Herald with the control plane using Ferriskey/Keycloak.
Acceptance Criteria:
Technical Notes:
- Use
reqwest for token requests
- Store token with expiry time and refresh proactively
- Consider using
oauth2 crate for OIDC flow
- Ensure thread-safe token storage (use
Arc<RwLock<Token>>)
Priority: High
Dependencies: Issue 1 (Control Plane HTTP Client)
Description:
Implement OIDC Client Credentials flow for authenticating Herald with the control plane using Ferriskey/Keycloak.
Acceptance Criteria:
OidcAuthenticatorininfrastructure/auth/moduleclient_id,client_secret,token_endpointTechnical Notes:
reqwestfor token requestsoauth2crate for OIDC flowArc<RwLock<Token>>)