teamhanko / passkeys

FIDO2-certified passkey server and SDKs for adding passkey support to any auth system
https://hanko.io/passkey-api
GNU Affero General Public License v3.0
115 stars 8 forks source link

docs: fixed incorrect create tenant request body in server README.md #77

Closed hibikiledo closed 2 weeks ago

hibikiledo commented 1 month ago

Context

As per the DTO definition for POST /tenants API defined here, create_api_key property is defined at the root of the JSON request body not within the config property.

The request example to create a new tenant puts create_api_key within the config property as defined here which is incorrect.

Changes