using redis as secondary storage for sessions
Hi in the better-auth example I saw
import { betterAuth } from "better-auth";
import { redisStorage } from "better-auth/storage";
export const auth = betterAuth({
secondaryStorage: redisStorage({
url: "redis://localhost:6379"
}),
})
but he implemenation of better-auth/storage is not present?
https://www.better-auth.com/docs/reference/options#secondarystorage
can anyone please advice me on this?
import { betterAuth } from "better-auth";
import { redisStorage } from "better-auth/storage";
export const auth = betterAuth({
secondaryStorage: redisStorage({
url: "redis://localhost:6379"
}),
})
but he implemenation of better-auth/storage is not present?
https://www.better-auth.com/docs/reference/options#secondarystorage
can anyone please advice me on this?