Skip to main content

Rotate Gainsight CS MCP client secret

  • May 19, 2026
  • 6 replies
  • 59 views

Jef Vanlaer
Forum|alt.badge.img+3

Is there a way to rotate the client secret on the MCP configuration?

6 replies

Forum|alt.badge.img
  • Gainsight Employee ⭐️
  • May 20, 2026

Hey ​@Jef Vanlaer 

The Gainsight MCP integration uses OAuth with PKCE for authentication rather than a static client secret that needs periodic rotation. That said, here's how you can manage the credentials:
To rotate/update the Client Secret in Gainsight CS:

  1. Go to Administration > User Management and click the Authentication tab in your Gainsight CS instance.
  2. Navigate to the OAuth application you created for the MCP integration.
  3. You can generate a new Client Secret there. After updating, make sure the new Client Secret is copied, as it's required for the connector configuration.

Important note: Gainsight now masks sensitive credential fields after the initial session — the Client Secret is visible only once when you create or edit the connection. If you close and reopen the edit window, it will be masked and no longer visible. So make sure to copy it immediately after generating a new one.
If you're a Gainsight admin and need more specific guidance on where the OAuth app settings live in your tenant, I'd recommend checking with your Gainsight CS admin or referring to Gainsight's support documentation directly. Would you like help with any specific step?

 

Regards,

Venkat


Jef Vanlaer
Forum|alt.badge.img+3
  • Author
  • Helper ⭐️⭐️
  • May 21, 2026

Thanks for your reply, ​@Venkat Sai 

I’ve checked the setup, but it doesn’t correspond to your guidance:

  • I don’t see a button (or anything else) to generate a new Client Secret
  • The credential field can easily be made visible, so it’s not fully masked (but that’s not really relevant for my question)

So where can I generate the new Secret exactly?

Kind regards,
Jef


Sanchita
Gainsight Employee ⭐️
  • Gainsight Employee ⭐️
  • May 25, 2026

Jef Vanlaer
Forum|alt.badge.img+3
  • Author
  • Helper ⭐️⭐️
  • May 29, 2026

@Sanchita Not sure how that relates, as the MCP is not configured through the connectors section but through Administration → User Management → Authentication → OAuth Applications

The button to regenerate a secret seems only available for connectors, but not for the MCP configuration.


Sanchita
Gainsight Employee ⭐️
  • Gainsight Employee ⭐️
  • June 3, 2026

Hi ​@Jef Vanlaer Thanks for your response. Currently, we do not have the re-generate secret access key button available at the OAuth Applications. I would recommend the below: 

  • Delete and recreate the OAuth app in Administration > User Management > Authentication > OAuth Applications — this generates a fresh Client ID and Secret, which you'd then need to re-enter in your LLM tool
  • Contact Gainsight Support to ask if there's a way to regenerate the secret for a User Management OAuth app without deleting it.

Thank you!


Jef Vanlaer
Forum|alt.badge.img+3
  • Author
  • Helper ⭐️⭐️
  • June 4, 2026

Thank you ​@Sanchita. I already feared this would be the case...