@binoauth/nextjs
v0.8.29
Published
To install dependencies:
Readme
auth-nextjs
To install dependencies:
bun install binoauth @binoauth/nextjsAdd necessary environment variables to your .env.local file:
BINOAUTH_CLIENT_ID=
BINOAUTH_CLIENT_SECRET=Setup the Authprovider
import React from "react";
import { AuthProvider } from "@binoauth/nextjs";
function RootLayout({ children }: { children: React.ReactNode }) {
return <AuthProvider>{children}</AuthProvider>;
}This project was created using bun init in bun v1.1.38. Bun is a fast all-in-one JavaScript runtime.
Development
To publish a new version, update the version in package.json and run:
npm login --scope=@binoauth
npm publish