diff --git a/docs/Auth/2. Web/2.IDPs/auth0.md b/docs/Auth/2. Web/2.IDPs/auth0.md index 72450762..924d1e3e 100644 --- a/docs/Auth/2. Web/2.IDPs/auth0.md +++ b/docs/Auth/2. Web/2.IDPs/auth0.md @@ -36,10 +36,13 @@ Follow these steps to configure Auth0: 3. **Configure Application Settings:** in the [**Applications/Settings**](https://auth0.com/docs/get-started/applications/application-settings) section, set the following parameters: - Obtain and save **Domain**,**Client ID** and **Client secrets** generated for your application. - Allowed Callback URLs: `https:///api/auth/callback/auth0` -4. **Create API:** in the **Applications/APIs** section, configure a new [**API**](https://auth0.com/docs/get-started/apis/api-settings). -5. **Create Users:** in the **User Management/Users** section, create necessary [Users](https://auth0.com/docs/manage-users/user-accounts/create-users). -6. (Optional) **Create and Assign Roles:** in the **User Management/Roles** section, create necessary [Roles](https://auth0.com/docs/manage-users/access-control/configure-core-rbac/roles/create-roles). -7. (Optional) **Create Action:** in the **Actions/Library** section, create a necessary [Action](https://auth0.com/docs/customize/actions/write-your-first-action#create-an-action) and [Deploy](https://auth0.com/docs/customize/actions/write-your-first-action#deploy-the-action) it. Action parameters: +4. **Update Application Allowed Logout URLs:** in the [**Applications/Settings**](https://auth0.com/docs/authenticate/login/logout/log-users-out-of-auth0#update-application-allowed-logout-urls), add the following: + - Allowed Logout URLs: `https:///api/auth/logout` +5. **Configure RP-Initiated Logout:** follow the [Auth0 documentation](https://auth0.com/docs/authenticate/login/logout/log-users-out-of-auth0#configure-rp-initiated-logout) to configure RP-Initiated Logout in your application. +6. **Create API:** in the **Applications/APIs** section, configure a new [**API**](https://auth0.com/docs/get-started/apis/api-settings). +7. **Create Users:** in the **User Management/Users** section, create necessary [Users](https://auth0.com/docs/manage-users/user-accounts/create-users). +8. (Optional) **Create and Assign Roles:** in the **User Management/Roles** section, create necessary [Roles](https://auth0.com/docs/manage-users/access-control/configure-core-rbac/roles/create-roles). +9. (Optional) **Create Action:** in the **Actions/Library** section, create a necessary [Action](https://auth0.com/docs/customize/actions/write-your-first-action#create-an-action) and [Deploy](https://auth0.com/docs/customize/actions/write-your-first-action#deploy-the-action) it. Action parameters: - Name: `DIAL role` - Trigger: `Login/Post Login` - Runtime: `Node 18` @@ -52,7 +55,8 @@ Follow these steps to configure Auth0: } }; ``` -8. (Optional) **Configure the Login Flow:** in the **Actions/Flows** section, choose `Login`, add a custom action `DIAL role` to `Flow` and apply the change. Refer to [Auth0](https://auth0.com/docs/customize/actions/flows-and-triggers) documentation to learn more. +10. (Optional) **Configure the Login Flow:** in the **Actions/Flows** section, choose `Login`, add a custom action `DIAL role` to `Flow` and apply the change. Refer to [Auth0](https://auth0.com/docs/customize/actions/flows-and-triggers) documentation to learn more. + ### Configure AI DIAL diff --git a/docs/Auth/2. Web/2.IDPs/cognito.md b/docs/Auth/2. Web/2.IDPs/cognito.md index a6ee6b6d..b0f0e1d3 100644 --- a/docs/Auth/2. Web/2.IDPs/cognito.md +++ b/docs/Auth/2. Web/2.IDPs/cognito.md @@ -36,6 +36,7 @@ Follow these steps to configure AWS Cognito: - **App client name**: provide a relevant and descriptive name for the client. - **Client secret**: select the option to `Generate a client secret` - **Allowed callback URLs**: enter `https:///api/auth/callback/cognito` + - **Allowed sign-out URLs**: enter `https:///`. - **Authentication flows**: enable `ALLOW_CUSTOM_AUTH` `ALLOW_REFRESH_TOKEN_AUTH` and `ALLOW_USER_SRP_AUTH`. - **OpenID Connect scopes**: select `OpenID` `Email` `Profile` 1. **Create Cognito Domain:** when setting up a user pool, navigate to the **Hosted authentication pages**. If the **Use the Cognito Hosted UI** option is enabled, you'll configure your domain here. Alternatively, you can access this configuration later by going to **App Integration/Domain/Actions**. Refer to [AWS documentation](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-userpools-server-contract-reference.html) for details.