Skip to main content

A universal and spatial authentication headless framework that provides cross-platform identity management designed to seamlessly work across web, mobile, and XR platforms.

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
70%
Published
a month ago (0.0.2)
import { Oauth2Adapter, Oauth2WrappedConfig } from "./config/oauth2.ts"; import { OidcAdapter, OidcWrappedConfig } from "./config/oidc.ts"; export function FacebookAuth( config: Oauth2WrappedConfig ): ReturnType<typeof Oauth2Adapter> { return Oauth2Adapter({ ...config, type: "facebook", endpoint: { authorization: "https://www.facebook.com/v12.0/dialog/oauth", token: "https://graph.facebook.com/v12.0/oauth/access_token", }, }); } export function FacebookOidcAuth( config: OidcWrappedConfig ): ReturnType<typeof OidcAdapter> { return OidcAdapter({ ...config, type: "facebook", issuer: "https://graph.facebook.com", }); }