Rownd Hub SDK

This service hosts the SuperTokens Rownd Hub browser SDK.

Required configuration

Pass your app key and SuperTokens API domain on the SDK script URL. These values are required before the hub initializes. Pass tenantId for a non-public SuperTokens tenant.

<script
  async
  src="/static/scripts/rph.js?appKey=<app-key>&apiDomain=<api-domain>&apiBasePath=/auth&tenantId=<tenant-id>"
></script>

supertokens.appInfo.apiDomain is used as the backend API domain for this integration.

supertokens.appInfo.tenantId selects the tenant for this Hub instance. Omit it for the public tenant.

Use window._rphConfig only for optional runtime settings.