Ask AI is now on the home page — ask a question and get a sourced answer from the Ory docs. You'll also find it in the bottom-right corner of any page.

Skip to main content

useOryConfiguration()

function useOryConfiguration(): OryElementsConfiguration

The useOryConfiguration hook provides access to the Ory Elements configuration.

This includes the SDK configuration and the project configuration. To customize the configuration, provide the sdk and project properties in the OryConfigurationProvider.

Returns

OryElementsConfiguration

the Ory Elements configuration, which includes the SDK and project configuration.