1 {"slug":"/references/auth/interfaces/auth.AuthProviderInfoDTO","title":"AuthProviderInfoDTO","frontmatter":{"displayed_sidebar":"authReference"},"toc":[],"blocks":[{"kind":"markdown","html":"Public information about a registered auth provider instance. This is safe to\nexpose to unauthenticated clients (for example, a login UI that renders a\nbutton per provider). It never includes the provider's options or secrets."},{"kind":"typeList","sectionTitle":"AuthProviderInfoDTO","types":[{"name":"id","type":"`string`","description":"The registered instance ID of the provider. This is the value used in\nauthentication routes (for example, `okta` in `POST /auth/user/okta`).","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"identifier","type":"`string`","description":"The provider's static identifier (for example, `oidc` or `emailpass`).\nMultiple instances can share the same identifier.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"display_name","type":"`string`","description":"The name to display for the provider in a frontend application.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"flow","type":"`\"credentials\"` \\| `\"redirect\"`","description":"The authentication flow the provider uses:\n\n- `credentials`: the client submits credentials (for example, email and\npassword) directly to the authentication route.\n- `redirect`: the client is redirected to the provider (for example, an\nOIDC identity provider) and returns through a callback. A provider is\nconsidered `redirect` when it implements `validateCallback`.\n\nThis value is derived and can be used by a frontend to decide whether to\nrender a credentials form or a \"Continue with ...\" redirect button.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}