@binoauth/oauth-nextjs
v0.8.20
Published
To install dependencies:
Downloads
152
Readme
auth-nextjs
To install dependencies:
bun install @binoauth/oauth-core @binoauth/oauth-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/oauth-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