> For the complete documentation index, see [llms.txt](https://docs.cosmocloud.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cosmocloud.io/advanced-guide/configuring-authentication.md).

# Configuring Authentication

## Authentication Secrets

First of all, what are Authentication Secrets (or Auth secrets)?&#x20;

Auth secrets are a way to connect Authentication Providers to enable and add authentication on your created APIs. These secrets ensure that access to a system is granted only to those with the correct credentials. A common method involving authentication secrets in modern applications uses JSON Web Tokens (JWT) and the JSON Web Key Set (JWKS).

## Authentication with Cosmocloud

With Cosmocloud, you can integrate with any and every JWT Based Authentication provider by simply adding your JWKS URI&#x20;

A small example of how can you integrate a third-party SSO provider is given below&#x20;

***Select the Type of Secret as Authentication***

Next - You have two options to choose from in your Auth Type - The JWKS URI or Access Key Secret

<figure><img src="/files/EUuD9pQtBXjfce2JvK3f" alt=""><figcaption></figcaption></figure>

Auth Type - JWKS URI

<figure><img src="/files/DX1JUcxuA2FDpqSEF4oJ" alt=""><figcaption></figcaption></figure>

Auth Type - Access Key Secret

<figure><img src="/files/YesTdbg0rLNGrLvBtRSv" alt=""><figcaption></figcaption></figure>

You can generate your access keys or JWKS URI on the SSO provider and then add them here!
