---
title: supertokens-auth-react/recipe/thirdparty/types
description: References documentation for the supertokens-auth-react/recipe/thirdparty/types package
sidebar:
  order: 180
---

## Type Aliases

### ComponentOverrideMap

```ts check=false reason="Generated API signature"
type ComponentOverrideMap = object;
```

Defined in: [recipe/thirdparty/types.ts:39](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L39)

#### Properties

| Property | Type | Defined in |
| ------ | ------ | ------ |
| <a id="thirdpartysigninandupcallbacktheme_override"></a> `ThirdPartySignInAndUpCallbackTheme_Override?` | `ComponentOverride`\<*typeof* [`SuperTokensWrapper`](index#supertokenswrapper-1)\> | [recipe/thirdparty/types.ts:41](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L41) |
| <a id="thirdpartysigninandupprovidersform_override"></a> `ThirdPartySignInAndUpProvidersForm_Override?` | `ComponentOverride`\<*typeof* [`SuperTokensWrapper`](index#supertokenswrapper-1)\> | [recipe/thirdparty/types.ts:40](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L40) |

***

### Config

```ts check=false reason="Generated API signature"
type Config = UserInput & AuthRecipeModuleConfig<GetRedirectionURLContext, PreAndPostAPIHookAction, OnHandleEventContext>;
```

Defined in: [recipe/thirdparty/types.ts:55](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L55)

***

### CustomStateProperties

```ts check=false reason="Generated API signature"
type CustomStateProperties = object;
```

Defined in: [recipe/thirdparty/types.ts:116](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L116)

#### Properties

| Property | Type | Defined in |
| ------ | ------ | ------ |
| <a id="oauth2loginchallenge"></a> `oauth2LoginChallenge?` | `string` | [recipe/thirdparty/types.ts:119](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L119) |
| <a id="redirecttopath"></a> `redirectToPath` | `string` | [recipe/thirdparty/types.ts:118](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L118) |
| <a id="rid"></a> `rid` | `string` | [recipe/thirdparty/types.ts:117](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L117) |

***

### GetRedirectionURLContext

```ts check=false reason="Generated API signature"
type GetRedirectionURLContext = never;
```

Defined in: [recipe/thirdparty/types.ts:84](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L84)

***

### NormalisedConfig

```ts check=false reason="Generated API signature"
type NormalisedConfig = object & NormalisedAuthRecipeModuleConfig<GetRedirectionURLContext, PreAndPostAPIHookAction, OnHandleEventContext>;
```

Defined in: [recipe/thirdparty/types.ts:58](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L58)

#### Type Declaration

| Name | Type | Defined in |
| ------ | ------ | ------ |
| `oAuthCallbackScreen` | [`FeatureBaseConfig`](types#featurebaseconfig) | [recipe/thirdparty/types.ts:60](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L60) |
| `override` | `object` | [recipe/thirdparty/types.ts:61](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L61) |
| `override.functions()` | (`originalImplementation`, `builder`) => [`SuperTokensWrapper`](index#supertokenswrapper-1) | [recipe/thirdparty/types.ts:62](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L62) |
| `signInAndUpFeature` | [`NormalisedSignInAndUpFeatureConfig`](#normalisedsigninandupfeatureconfig) | [recipe/thirdparty/types.ts:59](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L59) |

***

### NormalisedSignInAndUpFeatureConfig

```ts check=false reason="Generated API signature"
type NormalisedSignInAndUpFeatureConfig = NormalisedBaseConfig & object;
```

Defined in: [recipe/thirdparty/types.ts:76](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L76)

#### Type Declaration

| Name | Type | Defined in |
| ------ | ------ | ------ |
| `providers` | [`SuperTokensWrapper`](index#supertokenswrapper-1)[] | [recipe/thirdparty/types.ts:80](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L80) |

***

### OnHandleEventContext

```ts check=false reason="Generated API signature"
type OnHandleEventContext = 
  | AuthRecipeModuleOnHandleEventContext
  | {
  action: "SUCCESS";
  createdNewSession: boolean;
  isNewRecipeUser: boolean;
  user: SuperTokensWrapper;
  userContext: UserContext;
};
```

Defined in: [recipe/thirdparty/types.ts:95](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L95)

***

### PreAndPostAPIHookAction

```ts check=false reason="Generated API signature"
type PreAndPostAPIHookAction = "GET_AUTHORISATION_URL" | "THIRD_PARTY_SIGN_IN_UP";
```

Defined in: [recipe/thirdparty/types.ts:86](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L86)

***

### PreAPIHookContext

```ts check=false reason="Generated API signature"
type PreAPIHookContext = object;
```

Defined in: [recipe/thirdparty/types.ts:88](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L88)

#### Properties

| Property | Type | Defined in |
| ------ | ------ | ------ |
| <a id="action"></a> `action` | [`PreAndPostAPIHookAction`](#preandpostapihookaction) | [recipe/thirdparty/types.ts:89](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L89) |
| <a id="requestinit"></a> `requestInit` | `RequestInit` | [recipe/thirdparty/types.ts:90](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L90) |
| <a id="url"></a> `url` | `string` | [recipe/thirdparty/types.ts:91](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L91) |
| <a id="usercontext"></a> `userContext` | [`UserContext`](types#usercontext) | [recipe/thirdparty/types.ts:92](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L92) |

***

### SignInAndUpFeatureUserInput

```ts check=false reason="Generated API signature"
type SignInAndUpFeatureUserInput = FeatureBaseConfig & object;
```

Defined in: [recipe/thirdparty/types.ts:69](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L69)

#### Type Declaration

| Name | Type | Defined in |
| ------ | ------ | ------ |
| `providers?` | ( \| [`SuperTokensWrapper`](index#supertokenswrapper-1) \| `CustomProviderConfig`)[] | [recipe/thirdparty/types.ts:73](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L73) |

***

### SignInAndUpThemeProps

```ts check=false reason="Generated API signature"
type SignInAndUpThemeProps = PartialAuthComponentProps & object;
```

Defined in: [recipe/thirdparty/types.ts:105](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L105)

#### Type Declaration

| Name | Type | Defined in |
| ------ | ------ | ------ |
| `config` | [`NormalisedConfig`](#normalisedconfig) | [recipe/thirdparty/types.ts:108](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L108) |
| `providers` | `Pick`\<[`SuperTokensWrapper`](index#supertokenswrapper-1), `"id"` \| `"getButton"`\>[] | [recipe/thirdparty/types.ts:106](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L106) |
| `recipeImplementation` | [`WebJSRecipeInterface`](types#webjsrecipeinterface)\<*typeof* [`SuperTokensWrapper`](index#supertokenswrapper-1)\> | [recipe/thirdparty/types.ts:107](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L107) |

***

### StateObject

```ts check=false reason="Generated API signature"
type StateObject = SuperTokensWrapper & object;
```

Defined in: [recipe/thirdparty/types.ts:111](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L111)

#### Type Declaration

| Name | Type | Defined in |
| ------ | ------ | ------ |
| `redirectToPath?` | `string` | [recipe/thirdparty/types.ts:113](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L113) |
| `rid?` | `string` | [recipe/thirdparty/types.ts:112](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L112) |

***

### UserInput

```ts check=false reason="Generated API signature"
type UserInput = object & AuthRecipeModuleUserInput<GetRedirectionURLContext, PreAndPostAPIHookAction, OnHandleEventContext>;
```

Defined in: [recipe/thirdparty/types.ts:44](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L44)

#### Type Declaration

| Name | Type | Defined in |
| ------ | ------ | ------ |
| `oAuthCallbackScreen?` | [`FeatureBaseConfig`](types#featurebaseconfig) | [recipe/thirdparty/types.ts:46](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L46) |
| `override?` | `object` | [recipe/thirdparty/types.ts:47](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L47) |
| `override.functions()?` | (`originalImplementation`, `builder`) => [`SuperTokensWrapper`](index#supertokenswrapper-1) | [recipe/thirdparty/types.ts:48](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L48) |
| `signInAndUpFeature?` | [`SignInAndUpFeatureUserInput`](#signinandupfeatureuserinput) | [recipe/thirdparty/types.ts:45](https://github.com/supertokens/supertokens-auth-react/blob/b337b23722adfbe2906b193ea5fcf98f9c98c8b0/lib/ts/recipe/thirdparty/types.ts#L45) |
