# RequestOpenIdIdentityAttributesParameters

Defined in: [react/src/auth/types.ts:200](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L200)

## Extends

- `Omit`\<[`RequestIdentityAttributesParameters`](https://ic-reactor.b3pay.net/v3/libs/interfaces/requestidentityattributesparameters/), `"openIdProvider"`\>

## Properties

### identityProvider?

> `optional` **identityProvider?**: `string` \| `URL`

Defined in: [react/src/auth/types.ts:99](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L99)

Identity provider URL.

#### Default

```ts
"https://id.ai/authorize"
```

#### Inherited from

[`AuthenticationClientOptions`](https://ic-reactor.b3pay.net/v3/libs/interfaces/authenticationclientoptions/).[`identityProvider`](https://ic-reactor.b3pay.net/v3/libs/interfaces/authenticationclientoptions/#identityprovider)

***

### windowOpenerFeatures?

> `optional` **windowOpenerFeatures?**: `string`

Defined in: [react/src/auth/types.ts:101](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L101)

`window.open` features string for the identity provider popup.

#### Inherited from

[`AuthenticationClientOptions`](https://ic-reactor.b3pay.net/v3/libs/interfaces/authenticationclientoptions/).[`windowOpenerFeatures`](https://ic-reactor.b3pay.net/v3/libs/interfaces/authenticationclientoptions/#windowopenerfeatures)

***

### derivationOrigin?

> `optional` **derivationOrigin?**: `string` \| `URL`

Defined in: [react/src/auth/types.ts:119](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L119)

Derivation origin for the identity provider.

Required when the app is served from more than one origin (e.g. a custom
domain plus `<canisterId>.icp0.io`) and every origin must resolve to the
same principal.

#### See

https://github.com/dfinity/internet-identity/blob/main/docs/internet-identity-spec.adoc

#### Inherited from

[`AuthenticationClientOptions`](https://ic-reactor.b3pay.net/v3/libs/interfaces/authenticationclientoptions/).[`derivationOrigin`](https://ic-reactor.b3pay.net/v3/libs/interfaces/authenticationclientoptions/#derivationorigin)

***

### storage?

> `optional` **storage?**: [`AuthClientStorageLike`](https://ic-reactor.b3pay.net/v3/libs/interfaces/authclientstoragelike/)

Defined in: [react/src/auth/types.ts:124](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L124)

Persistent storage backend. `@icp-sdk/auth` v8 only: v10 drops it with a
one-time warning.

#### Default

```ts
IndexedDB
```

#### Inherited from

[`AuthenticationClientOptions`](https://ic-reactor.b3pay.net/v3/libs/interfaces/authenticationclientoptions/).[`storage`](https://ic-reactor.b3pay.net/v3/libs/interfaces/authenticationclientoptions/#storage)

***

### keyType?

> `optional` **keyType?**: [`AuthClientKeyType`](https://ic-reactor.b3pay.net/v3/libs/type-aliases/authclientkeytype/)

Defined in: [react/src/auth/types.ts:130](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L130)

Session key algorithm. Use `"Ed25519"` when the storage backend cannot
hold a `CryptoKey`. `@icp-sdk/auth` v8 only: v10 drops it with a one-time
warning.

#### Default

```ts
"ECDSA"
```

#### Inherited from

[`AuthenticationClientOptions`](https://ic-reactor.b3pay.net/v3/libs/interfaces/authenticationclientoptions/).[`keyType`](https://ic-reactor.b3pay.net/v3/libs/interfaces/authenticationclientoptions/#keytype)

***

### idleOptions?

> `optional` **idleOptions?**: [`AuthClientIdleOptions`](https://ic-reactor.b3pay.net/v3/libs/interfaces/authclientidleoptions/)

Defined in: [react/src/auth/types.ts:140](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L140)

Idle timeout configuration. Pass `{ disableIdle: true }` to opt out of the
default behaviour, which signs the user out and reloads after 10 minutes.

`@icp-sdk/auth` v8 only. v10 has no equivalent, so IC Reactor drops it
there with a one-time warning: on v10 the identity provider enforces the
idle limit, so pass `maxTimeToIdle` to `login()` and set
`disableBrowserActivity` instead.

#### Inherited from

[`AuthenticationClientOptions`](https://ic-reactor.b3pay.net/v3/libs/interfaces/authenticationclientoptions/).[`idleOptions`](https://ic-reactor.b3pay.net/v3/libs/interfaces/authenticationclientoptions/#idleoptions)

***

### identity?

> `optional` **identity?**: `SignIdentity` \| `PartialIdentity`

Defined in: [react/src/auth/types.ts:145](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L145)

An existing identity to authenticate via delegation. `@icp-sdk/auth` v8
only: v10 drops it with a one-time warning.

#### Inherited from

[`AuthenticationClientOptions`](https://ic-reactor.b3pay.net/v3/libs/interfaces/authenticationclientoptions/).[`identity`](https://ic-reactor.b3pay.net/v3/libs/interfaces/authenticationclientoptions/#identity)

***

### transport?

> `optional` **transport?**: `"window"` \| `"redirect"`

Defined in: [react/src/auth/types.ts:151](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L151)

How the client talks to the identity provider. `"redirect"` requires
`@icp-sdk/auth` v8 or later and is ignored by older versions.

#### Default

```ts
"window"
```

#### Inherited from

[`AuthenticationClientOptions`](https://ic-reactor.b3pay.net/v3/libs/interfaces/authenticationclientoptions/).[`transport`](https://ic-reactor.b3pay.net/v3/libs/interfaces/authenticationclientoptions/#transport)

***

### disableBrowserActivity?

> `optional` **disableBrowserActivity?**: `boolean`

Defined in: [react/src/auth/types.ts:160](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L160)

Stops a v10 client from watching the page for signs of activity, so only
requests keep the session in use.

`@icp-sdk/auth` v10 only. v8 has no equivalent, so IC Reactor drops it
there with a one-time warning. On v8, `idleOptions` controls idle handling.

#### Default

```ts
false
```

#### Inherited from

[`AuthenticationClientOptions`](https://ic-reactor.b3pay.net/v3/libs/interfaces/authenticationclientoptions/).[`disableBrowserActivity`](https://ic-reactor.b3pay.net/v3/libs/interfaces/authenticationclientoptions/#disablebrowseractivity)

***

### keys

> **keys**: `string`[]

Defined in: [react/src/auth/types.ts:188](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L188)

#### Inherited from

[`RequestIdentityAttributesParameters`](https://ic-reactor.b3pay.net/v3/libs/interfaces/requestidentityattributesparameters/).[`keys`](https://ic-reactor.b3pay.net/v3/libs/interfaces/requestidentityattributesparameters/#keys)

***

### nonce

> **nonce**: [`IdentityAttributeNonce`](https://ic-reactor.b3pay.net/v3/libs/type-aliases/identityattributenonce/)

Defined in: [react/src/auth/types.ts:189](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L189)

#### Inherited from

[`RequestIdentityAttributesParameters`](https://ic-reactor.b3pay.net/v3/libs/interfaces/requestidentityattributesparameters/).[`nonce`](https://ic-reactor.b3pay.net/v3/libs/interfaces/requestidentityattributesparameters/#nonce)

***

### signIn?

> `optional` **signIn?**: `boolean`

Defined in: [react/src/auth/types.ts:194](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L194)

Sign in as part of the same identity-provider interaction.

#### Default

```ts
true
```

#### Inherited from

[`RequestIdentityAttributesParameters`](https://ic-reactor.b3pay.net/v3/libs/interfaces/requestidentityattributesparameters/).[`signIn`](https://ic-reactor.b3pay.net/v3/libs/interfaces/requestidentityattributesparameters/#signin)

***

### maxTimeToLive?

> `optional` **maxTimeToLive?**: `bigint`

Defined in: [react/src/auth/types.ts:195](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L195)

#### Inherited from

[`RequestIdentityAttributesParameters`](https://ic-reactor.b3pay.net/v3/libs/interfaces/requestidentityattributesparameters/).[`maxTimeToLive`](https://ic-reactor.b3pay.net/v3/libs/interfaces/requestidentityattributesparameters/#maxtimetolive)

***

### maxTimeToIdle?

> `optional` **maxTimeToIdle?**: `bigint`

Defined in: [react/src/auth/types.ts:196](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L196)

#### Inherited from

[`RequestIdentityAttributesParameters`](https://ic-reactor.b3pay.net/v3/libs/interfaces/requestidentityattributesparameters/).[`maxTimeToIdle`](https://ic-reactor.b3pay.net/v3/libs/interfaces/requestidentityattributesparameters/#maxtimetoidle)

***

### targets?

> `optional` **targets?**: `Principal`[]

Defined in: [react/src/auth/types.ts:197](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L197)

#### Inherited from

[`RequestIdentityAttributesParameters`](https://ic-reactor.b3pay.net/v3/libs/interfaces/requestidentityattributesparameters/).[`targets`](https://ic-reactor.b3pay.net/v3/libs/interfaces/requestidentityattributesparameters/#targets)

***

### openIdProvider

> **openIdProvider**: [`IdentityAttributeOpenIdProvider`](https://ic-reactor.b3pay.net/v3/libs/type-aliases/identityattributeopenidprovider/)

Defined in: [react/src/auth/types.ts:213](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L213)

Provider the requested `keys` are scoped to, producing
`openid:<issuer>:<key>`.

Passing one of the `"google" | "apple" | "microsoft"` aliases additionally
routes sign-in through that provider, so the user grants attribute access
in the same step. A raw issuer URL only scopes the keys.

#### See

[IdentityAttributeOpenIdProvider](https://ic-reactor.b3pay.net/v3/libs/type-aliases/identityattributeopenidprovider/)