Admin Login

Access the admin panel to manage recipes and view server configuration.

Default Credentials:

Username: admin

Password: admin123

Note: These are temporary credentials for development

API Endpoints

Once logged in, you can access these admin endpoints:

Server Configuration:

Endpoint: GET /api/config

Headers: Authorization: Bearer {jwt_token}

Returns: Server configuration including seed value

Recipe Access:

Endpoint: GET /api/recipes/{recipe_id}

Returns: Recipe details (including encrypted secret recipe)

Encryption Service:

Endpoint: POST /api/encrypt

Body: {"text": "your_text_here"}

Returns: Encrypted text using AES-256-GCM

Digital Signing Service:

Endpoint: POST /api/sign

Body: {"message": "your_message_here"}

Returns: Digital signature for message authenticity