@ipulsehq/auth-ui
v1.3.11
Published
iPulse auth: OAuth config, components en utilities voor NextAuth
Readme
@iPulseHQ/auth-ui
iPulse auth: OAuth config, React componenten en utilities voor NextAuth.
Repository: https://github.com/iPulseHQ/iPulse
Publiceerd via GitHub Packages. Voeg .npmrc toe met @iPulseHQ:registry=https://npm.pkg.github.com en zorg dat je repo toegang heeft via Package settings.
Installatie
npm install @iPulseHQ/auth-uiGebruik
// auth.ts
import NextAuth from 'next-auth'
import { createIPulseAuthConfig, getIPulseProvider } from '@iPulseHQ/auth-ui'
export const { handlers, auth, signIn, signOut } = NextAuth({
...createIPulseAuthConfig(),
providers: [getIPulseProvider()],
// cookies, etc.
})Publiceren
cd packages/ipulse-auth-ui
npm run build
npm publish