---
title: "AWS Cognito-konfiguration"
description: "F\u00F8lgende JSON er et eksempel for denne standardiserede konfigurationskomponent."
language: da
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/da/docs/application-setting-components/aws-cognito-configuration
original: https://documentation.invantive.eu/en/docs/application-setting-components/aws-cognito-configuration
updated: 2026-12-03T18:12:22Z
license: https://documentation.invantive.eu/da/
---

## Eksempler
Følgende JSON er et eksempel for denne standardiserede konfigurationskomponent:
```json
{ "ClientId": "1234567890abcdef"
, "ClientSecret": "secret"
, "MetadataAddress": "https://cognito-idp.eu-west-1.amazonaws.com/eu-central-ID/.well-known/openid-configuration"
}
```

## Definition
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "CognitoConfig.schema.json",
  "title": "CognitoConfig",
  "description": "AWS Cognito configuration.",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "MetadataType": {
      "type": [
        "string",
        "null"
      ],
      "default": "Invantive.Cloud.Shared.Models.CognitoConfig",
      "description": "Type.",
      "readOnly": true
    },
    "ClientId": {
      "type": [
        "string",
        "null"
      ],
      "description": "AWS Cognito client ID."
    },
    "ClientSecret": {
      "type": [
        "string",
        "null"
      ],
      "description": "AWS Cognito client secret."
    },
    "MetadataAddress": {
      "type": [
        "string",
        "null"
      ],
      "description": "AWS Cognito OpenID metadata address."
    }
  }
}
```
