---
title: "Config folder"
source: https://dev.pageseeder.com/reference/folders_and_files/config_folder.html
last_updated: 2026-08-07T17:09:54+10:00
tokens: ~608
---

# Config folder

`/WEB-INF/config`

This folder contains your PageSeeder configuration.

> **Tip:** Please ensure that you have a copy of this folder outside your deployed solution. We recommend that you backup this folder. Typically the some of the configuration files would also be maintain in a version control system.



The PageSeeder configuration includes:

- the [database properties](../../guide/configuration/properties/database_properties.md)
- the [global properties](../../guide/configuration/properties/global_properties.md)
- the [group properties](../glossary/group_properties.md)
- your custom [project templates](../glossary/project_template.md)
- An optional `analytics.xml` file
- An optional `identity-config.xml` file  



  - *In PageSeeder v6.0 and lower the file was `external-identity.xml`.*

## `analytics.xml` file

Use this file to inject some code into the user interface. This is typically use for Web analytics.

```lang-xml
<analytics>
  <include location="head">
    <script><!-- This will be included inside the <head> --></script>
  </include>
  <include location="body">
    <script><!-- This will be included at the end of <body> --></script>
  </include>
</analytics>
```

## `identity-config.xml` file

Use this file to specify Open ID providers and external portal apps to support SSO.

```lang-xml
<identity-config default-authentication="internal">
  <provider id="google"
            title="Google"
            authority-url="https://accounts.google.com"
            client-id="1234abcd.apps.googleusercontent.com" />
  <provider id="microsoft"
            title="Microsoft"
            authority-url="https://login.microsoftonline.com/1234-abcd/"
            client-id="12345678-aaaa-bbbb-cccc-dddddddddddd" />
  <domain name="mail.example.net"           providers="microsoft google"/>
  <domain name="gmail.example.net"          providers="google"/>
  <domain name="microsoft-only.example.net" providers="microsoft" authentication="external"/>
  <domain name="internal.example.net"       authentication="internal"/>
  <domain name="external.example.net"       authentication="external"/>
  <domain name="evil.example.net"           authentication="none"/>
  <domain name="choice.example.net"         authentication="any"/>
  <domain name="example.net" />
</identity-config>
```

This file is returned by the [/identity-config](../../api/services/get-identity-config-GET.md) service.

