@ory/kratos-client
Version:
OpenAPI client for @ory/kratos-client
28 lines (20 loc) • 1.22 kB
Markdown
# IdentityWithCredentialsOidcConfigProvider
Create Identity and Import Social Sign In Credentials Configuration
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**organization** | **string** | | [optional] [default to undefined]
**provider** | **string** | The OpenID Connect provider to link the subject to. Usually something like `google` or `github`. | [default to undefined]
**subject** | **string** | The subject (`sub`) of the OpenID Connect connection. Usually the `sub` field of the ID Token. | [default to undefined]
**use_auto_link** | **boolean** | If set, this credential allows the user to sign in using the OpenID Connect provider without setting the subject first. | [optional] [default to undefined]
## Example
```typescript
import { IdentityWithCredentialsOidcConfigProvider } from '@ory/kratos-client';
const instance: IdentityWithCredentialsOidcConfigProvider = {
organization,
provider,
subject,
use_auto_link,
};
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)