sendou.ink/app/features/auth/core/authenticator.server.ts
Kalle 32c97a2467
Bluesky via Discord connection + upgrade remix-auth + remove Twitter references (#2058)
* Remove Twitter references

* Upgrade remix auth, bsky via Discord

* Test
2025-01-28 17:22:45 +02:00

10 lines
335 B
TypeScript

import { Authenticator } from "remix-auth";
import { DiscordStrategy, type LoggedInUser } from "./DiscordStrategy.server";
export const SESSION_KEY = "user";
export const IMPERSONATED_SESSION_KEY = "impersonated_user";
export const authenticator = new Authenticator<LoggedInUser>();
authenticator.use(DiscordStrategy(), "discord");