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

# PFAuthenticationLoginWithOpenIdConnectRequest

> PFAuthenticationLoginWithOpenIdConnectRequest data model.

PFAuthenticationLoginWithOpenIdConnectRequest data model.

## Syntax

```cpp theme={null}
typedef struct PFAuthenticationLoginWithOpenIdConnectRequest {  
    const char* connectionId;  
    bool createAccount;  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    const char* idToken;  
    PFGetPlayerCombinedInfoRequestParams const* infoRequestParameters;  
    const char* playerSecret;  
} PFAuthenticationLoginWithOpenIdConnectRequest;  
```

### Members

**`connectionId`**   const char\*\
*is null-terminated*

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

**`createAccount`**   bool

Automatically create a PlayFab account if one is not currently linked to this ID.

**`customTags`**   PFStringDictionaryEntry const\*\
*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

**`idToken`**   const char\*\
*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.

**`infoRequestParameters`**   PFGetPlayerCombinedInfoRequestParams const\*\
*may be nullptr*

(Optional) Flags for which pieces of info to return for the user.

**`playerSecret`**   const char\*\
*is null-terminated*

(Optional) Player secret that is used to verify API request signatures.

## Requirements

**Header:** PFAuthenticationTypes.h

## See also

[PFAuthenticationTypes members](https://docs.xbox.com/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members.md)


## Related topics

- [PFAuthenticationLoginWithOpenIdConnectAsync](https://docs.xbox.com/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithopenidconnectasync.md)
- [PFAuthenticationReLoginWithOpenIdConnectAsync](https://docs.xbox.com/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationreloginwithopenidconnectasync.md)
- [Services C API overview - PFAuthenticationTypes.h](https://docs.xbox.com/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members.md)
- [Login With Open Id Connect](https://docs.xbox.com/api-reference/authentication/login-with-open-id-connect.md)
- [Login With OpenId Connect](https://docs.xbox.com/services/playfab/api-references/rest/client/authentication/login-with-openid-connect.md)
