Configuration for an OAuth strategy, including the strategy itself, callback function, secret keys, and additional provider-specific options.

callback
string
required

The callback function to handle OAuth responses.

path
string
required

The path at which the OAuth strategy is available.

secretKeys
object
required

The client ID and secret key for the OAuth provider.

strategy
object
required

The OAuth strategy object.

extra
object

Additional provider-specific options, such as scope. The shape of this object varies by provider.