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

strategy
object
required

The OAuth strategy object.

callback
string
required

The callback function to handle OAuth responses.

secretKeys
object
required

The client ID and secret key for the OAuth provider.

path
string
required

The path at which the OAuth strategy is available.

extra
object

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