---
title: "createOktaAuthProvider"
source: "https://github.com/remix-run/remix/blob/8905f3943706e1f53696ab83e70a84873cabfc90/packages/auth/src/lib/providers/okta.ts#L28"
---

# createOktaAuthProvider

## Summary

Creates an Okta provider backed by the shared OIDC runtime.

## Signature

```ts
function createOktaAuthProvider(
  options: OktaAuthProviderOptions,
): OAuthProvider<OktaAuthProfile, 'okta'>

```

## Parameters

### `options`

Okta issuer and client settings for your application.

## Returns

An OAuth provider that can be passed to `startExternalAuth()` and `finishExternalAuth()`.