> For the complete documentation index, see [llms.txt](https://docs.ngsurvey.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ngsurvey.com/installation-setup/system-settings/openid-connect-settings.md).

# OpenId Connect Settings

The OpenId Connect connector allows you to connect ngSurvey to any OpenId Connect compatible identity provider compatible with OId Connect protocol like for example Identity Server, AWS Cognito or Keycloak. Once you have setup the connector all your existing users from your OId identity provider will be able to login seamlessly with their existing credentials.

## 🔅 OpenId Connect properties

* **`Issuer`** URI of your identity provider. eg: <https://yourissueruri.com>
* **`Client ID`** Client ID that identify your identity provider application.
* **`Login button text`** Text label of the login button that is used to trigger the OpenId  authentication manually.    &#x20;
* **`Single signon`** Tries to login automatically using existing OpenId credentials.&#x20;
* **`Security items default`** If Settings will be used by default for all [Open Id security items](/form-management/security/security-items/openid-connect.md) if no settings have been set on the security item.

{% hint style="danger" %}
If you turn single sign-on on make sure to first log with an OpenId account and assign this account admin privileges or [roles](/multi-user-management/roles.md) in ngSurvey from the [user](/multi-user-management/users.md) access control. &#x20;
{% endhint %}

{% hint style="info" %}
Using the auto-link property on [roles](/multi-user-management/roles.md) and [groups](/multi-user-management/groups.md) you can automatically map a role or a group to each new OpenId user that is connecting to ngSurvey.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.ngsurvey.com/installation-setup/system-settings/openid-connect-settings.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
