add suffix
This commit is contained in:
@@ -21,7 +21,10 @@ export async function loader({ request, context }: Route.ActionArgs) {
|
||||
}
|
||||
|
||||
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)
|
||||
session.set('user', user)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user