---
title: "StartExternalAuthOptions"
source: "https://github.com/remix-run/remix/blob/8905f3943706e1f53696ab83e70a84873cabfc90/packages/auth/src/lib/start-external-auth.ts#L15"
---

# StartExternalAuthOptions

## Summary

Options for starting an OAuth or OIDC login redirect flow.

## Signature

```ts
interface StartExternalAuthOptions {
  returnTo?: string | null
  transactionKey?: string
}

```

## Properties

### `returnTo`

Optional local path to normalize and preserve as the post-auth redirect target.

### `transactionKey`

Session key used to store the in-progress OAuth transaction.