Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

382 B
Raw Blame
import { cache } from "react";

import { createConfiguration } from "./configuration";

const { auth: defaultAuth } = createConfiguration("unknown", null, false);

/**
 * This is the main way to get session data for your RSCs.
 * This will de-duplicate all calls to next-auth's default `auth()` function and only call it once per request
 */
export const auth = cache(defaultAuth);