---
title: "Get public Hanko configuration"
method: GET
path: "/.well-known/config"
tags: [".well-known"]
deprecated: true
---

# Get public Hanko configuration

`GET /.well-known/config`

## Request

- Base URL: `https://.hanko.io/admin`
- URL: `https://.hanko.io/admin/.well-known/config`
- Auth: none required
- TypeScript: <https://skmtc.dev/hanko/apis/hanko-admin-api/docs/.well-known/config/get.ts> (a function with typed inputs; its response is checked against the schema)

> **Deprecated.**

Retrieve public backend configuration options.

Useful for example for conditionally constructing a UI based on the options (e.g. don't show password
inputs when they are disabled).

## Response `200`

Hanko configuration

- HankoConfiguration: Public backend configuration options
  - `emails` object: Controls the behavior regarding email addresses.
    - `require_verification` boolean: Require email verification after account registration and prevent signing in with unverified email addresses. Also, email addresses can only be marked as primary when they have been verified before.
  - `password` object: Configuration options concerning passwords
    - `enabled` boolean: Indicates whether passwords are enabled or not
    - `min_password_length` number: Describes the minimum password length
  - `account` object: Controls the behavior regarding user account.
    - `allow_deletion` boolean: Indicates the user account can be deleted by the current user.
    - `allow_signup` boolean: Indicates users are able to create new accounts.

---

[API](https://skmtc.dev/hanko/apis/hanko-admin-api.md) - [All operations](https://skmtc.dev/hanko/apis/hanko-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hanko/apis/hanko-admin-api/revisions/d22a127b0978?raw)
