

# WorkforceSignInConfig

Contains the settings for workforce sign-in. Your employees can sign in to an agent context's Model Context Protocol (MCP) server through your own identity provider. While ENABLED, the resource's `mcpServerUrl` carries `signInUrl` as its `login_hint`, so an MCP client that connects without credentials is sent to that identity provider to sign in.

On `UpdateAgentContext`, AWS Context merges the members that you send into the stored settings. Setting `status` to DISABLED clears them.

## Contents
<a name="API_WorkforceSignInConfig_Contents"></a>

 ** signInUrl **   <a name="context-Type-WorkforceSignInConfig-signInUrl"></a>
The URL that starts a sign-in to your AWS application at the identity provider. For example, an Okta application link, a Microsoft Entra My Apps link, or an IAM Identity Center access portal URL. HTTPS only, a single line with no whitespace, 9 to 2048 characters. Sent alone, it replaces the stored URL and turns sign-in ENABLED. It cannot be sent together with `status` DISABLED in the same request.  
Type: String  
Length Constraints: Minimum length of 9. Maximum length of 2048.  
Pattern: `https://[^\s\p{Cc}\p{Z}\p{Cf}]+`   
Required: No

 ** status **   <a name="context-Type-WorkforceSignInConfig-status"></a>
Whether workforce sign-in is on. Reads ENABLED while a `signInUrl` is stored, DISABLED otherwise. On Create, a config with a `signInUrl` defaults to ENABLED. On Update, DISABLED removes the stored `signInUrl`. ENABLED requires a `signInUrl`, supplied in the same request or already stored on the resource.  
Type: String  
Valid Values: `ENABLED | DISABLED`   
Required: No

## See Also
<a name="API_WorkforceSignInConfig_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/context-2022-07-26/WorkforceSignInConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/context-2022-07-26/WorkforceSignInConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/context-2022-07-26/WorkforceSignInConfig) 