add suffix

This commit is contained in:
2025-12-17 16:14:07 -03:00
parent d1c68e396a
commit b64fd75f2d

View File

@@ -21,7 +21,10 @@ export async function loader({ request, context }: Route.ActionArgs) {
} }
try { try {
const authenticator = createAuth(context.cloudflare.env, url?.origin) const authenticator = createAuth(
context.cloudflare.env,
`${url?.origin}/login`
)
const user = await authenticator.authenticate('oidc', request) const user = await authenticator.authenticate('oidc', request)
session.set('user', user) session.set('user', user)