> Source: [sk180774](https://support.checkpoint.com/results/sk/sk180774)

# sk180774 - "Authentication failed: bad credentials" - Identity Agent on macOS fails to connect

| Property | Value |
|----------|-------|
| Solution ID | sk180774 |
| Date Created | 2023-03-26 |
| Last Modified | 2023-04-17 |
| Technical Level | Advanced |
| Products | Security Gateway |
| Versions | R82.10, R82, R81.20 |
| OS | macOS |

## Symptoms

- * When Identity Agent for a User Endpoint Computer is configured to allow end users on macOS to save passwords, the Agent shows the error message "Authentication failed:bad credentials" and the **Save Password** button is grayed out.  
  Configuration of Identity Agent to allow users to save passwords:
  1. Open SmartConsole.
  2. From the left, select select **Gateways and Servers**.
  3. Open the relevant Security Gateway object.
  4. From the left, click **Identity Awareness**.
  5. Select **Identity Agents**.
  6. Next to **Identity Agents** , click **Settings**.
  7. In the **Session** section, select **Allow user to save password**.
* After end users manually enter their username and password, they can connect with Identity Agent.
* *IdentityAgent.log* shows failed login attempts and then a successful login. The password hash for the successful login is different from the password has for the failed login attempts.

## Cause

This is a macOS issue, not a Check Point issue. The user's password changed. The macOS Keychain Access application tries to use the user's old credentials to authenticate with Identity Agent for a User Endpoint Computer.

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
