---
title: "Get Auth Settings"
method: GET
path: "/api/apps/{name}/auth/settings"
tags: ["deploy"]
---

# Get Auth Settings

`GET /api/apps/{name}/auth/settings`

## Request

- Base URL: `https://softkiln.com` (the document declares no server; this is the origin it was published from)
- URL: `https://softkiln.com/api/apps/{name}/auth/settings`
- Auth: none declared

## Path parameters

- `name` string, required

## Response `200`

Successful Response

- AuthSettingsOut: Token and session lifetimes, read live from the auth provider. Each `_source` is "default" (inherited from the platform), "app" (set for this app alone) or "unknown"; a value is null only when its source is "unknown", which means the setting could not be read rather than that it is unset. The trailing fields are fixed ceilings, not per-app settings.
  - `access_token_ttl_seconds` integer, nullable
  - `access_token_ttl_source` string, required
  - `session_ttl_seconds` integer, nullable
  - `session_ttl_source` string, required
  - `refresh_token_ttl_days` integer, nullable
  - `refresh_token_ttl_source` string, required
  - `rotate_refresh_token` boolean, nullable
  - `rotate_refresh_token_source` string, required
  - `refresh_token_sliding` boolean, required
  - `grant_ttl_days` integer, required
  - `rotation_cap_days` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/softkiln/apis/app-manager-api.md) · [All operations](https://skmtc.dev/softkiln/apis/app-manager-api/llms.txt) · [OpenAPI document](https://skmtc.dev/softkiln/apis/app-manager-api/revisions/de2b674a7f21?raw)
