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

# PFAccountManagementLinkOpenIdConnectRequest

> PFAccountManagementLinkOpenIdConnectRequest data model.

PFAccountManagementLinkOpenIdConnectRequest data model.

## Syntax

```cpp theme={null}
typedef struct PFAccountManagementLinkOpenIdConnectRequest {  
    const char* connectionId;  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    bool const* forceLink;  
    const char* idToken;  
} PFAccountManagementLinkOpenIdConnectRequest;  
```

### Members

**`connectionId`**   const char\*<br />*is null-terminated*

A name that identifies which configured OpenID Connect provider relationship to use. Maximum 100 characters.

**`customTags`**   [PFStringDictionaryEntry](/services/playfab/api-references/c/pftypes/structs/pfstringdictionaryentry) const\*<br />*may be nullptr*

(Optional) The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).

**`customTagsCount`**   uint32\_t

Count of customTags

**`forceLink`**   bool const\*<br />*may be nullptr*

(Optional) If another user is already linked to a specific OpenId Connect user, unlink the other user and re-link.

**`idToken`**   const char\*<br />*is null-terminated*

The JSON Web token (JWT) returned by the identity provider after login. Represented as the id\_token field in the identity provider's response. Used to validate the request and find the user ID (OpenID Connect subject) to link with.

## Requirements

**Header:** PFAccountManagementTypes.h

## See also

[PFAccountManagementTypes members](/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members)


## Related topics

- [PFAccountManagementClientLinkOpenIdConnectAsync](/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientlinkopenidconnectasync.md)
- [Services C API overview - PFAccountManagementTypes.h](/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members.md)
- [PFAccountManagementUnlinkOpenIdConnectRequest](/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementunlinkopenidconnectrequest.md)
- [PFAccountManagementClientUnlinkOpenIdConnectAsync](/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientunlinkopenidconnectasync.md)
- [PFAccountManagementLinkSteamIdRequest](/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementlinksteamidrequest.md)
