Example using PatternFly with Next.js and NextAuth
- NextAuth example is in
src/app/auth-providers.ts.sample
rename it tosrc/app/auth-providers.ts
$ yarn
$ yarn dev
App will become available on http://localhost:3000
Private page is then on http://localhost:3000/private
API you can call http://localhost:3000/api/v1/privateApi