> ## Documentation Index
> Fetch the complete documentation index at: https://auth0.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure Amazon Web Services as SAML Service Provider

> Learn how to configure Auth0 as an identity provider using the SAML2 Web App addon for Amazon Web Services (AWS).

Configure the SAML2 Web App addon for Amazon Web Services (AWS) for an application.

1. Go to [Dashboard > Applications > Applications](https://manage.auth0.com/#/applications) and either create a new application or click the name of an application to update.

2. Go to the **Addons** tab and enable the **SAML2 Web App** toggle.

3. On the **Settings** tab, set the **Application Callback URL** to: `https://signin.aws.amazon.com/saml`.

   ![Dashboard Applications Applications Addons Tab SAML2 Web App Settings Tab](https://mintlify.s3.us-west-1.amazonaws.com/auth0/docs/images/cdy7uua7fh8z/6dJgYkcOgMZ73HVTkAWt1x/fe9dbbf306e6c587cb3326c00a3b4e1f/2025-02-27_13-59-00.png)

4. Paste the following code into the **Settings** text box and click **Debug**. Be sure to replace the `AWS_SSO_ISSUER_URL` and `AWS_SSO_ACS_URL` placeholders with values you copied from AWS.

   ```json lines theme={null}
   {
     "audience": "AWS_SSO_ISSUER_URL",
     "destination": "AWS_SSO_ACS_URL",
     "mappings": {
       "email": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress",
       "name": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name"
     },
     "createUpnClaim": false,
     "passthroughClaimsWithNoMapping": false,
     "mapUnknownClaimsAsIs": false,
     "mapIdentities": false,
     "nameIdentifierFormat": "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress",
     "nameIdentifierProbes": [
       "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"
     ]
   }
   ```

5. Scroll to the bottom of the page and click **Enable**.

6. On the **Usage** tab, locate **Identity Provider Metadata**, and click **Download** to download the metadata file. You'll need this when you configure Auth0 as the identity provider.

   ![Dashboard Applications Applications Addons Tab SAML2 Web App Usage Tab](https://mintlify.s3.us-west-1.amazonaws.com/auth0/docs/images/cdy7uua7fh8z/3T90BDpyTXFUWDp1JkncBU/86bdba6bed8130b34b42b25c9bf2d232/dashboard-applications-applications-addons-saml2-web-app-usage.png)

To learn how to configure AWS for SSO (Single Sign-On (SSO): Service that, after a user logs into one applicaton, automatically logs that user in to other applications.), read [Configure Amazon Web Services for Single Sign-On](https://auth0.com/docs/customize/integrations/aws/configure-amazon-web-services-for-sso.md).

## Learn more

* [Use Amazon Web Services Session Tags for Role-Based Access Control](https://auth0.com/docs/customize/integrations/aws/session-tags.md)
* [Configure Amazon Web Services for Single Sign-On](https://auth0.com/docs/customize/integrations/aws/configure-amazon-web-services-for-sso.md)
