apiBasePath in the
appInfo object #
The value of
apiBasePath should be
"/auth". This is because Netlify exposes the serverless functions via
/.netlify/functions/* and we further scope the auth related APIs by adding a
, resulting in the above full path.
init function call should look like:
import SuperTokens from "supertokens-auth-react";
- If you are hosting the frontend via Netlify as well, then the
websiteDomainvalues will be the same.
- An example of this
initcall can be seen here.