import { DenoKVOAuth } from "https://deno.land/x/fathym_eac_runtime@v0.0.140/src/src.deps.ts";
const { signIn } = DenoKVOAuth;
Handles the sign-in request and process for the given OAuth configuration and redirects the client to the authorization URL.
Examples
Example 1
Example 1
import { signIn, createGitHubOAuthConfig } from "https://deno.land/x/deno_kv_oauth@$VERSION/mod.ts";
const oauthConfig = createGitHubOAuthConfig();
export async function handleSignIn(request: Request) {
return await signIn(request, oauthConfig);
}