https://github.com/saimirkapaj/nextjs-auth-identityserver4
Next.js authentication using Identity Server 4
https://github.com/saimirkapaj/nextjs-auth-identityserver4
identityserver4 nextauth nextjs oidc-client
Last synced: about 1 month ago
JSON representation
Next.js authentication using Identity Server 4
- Host: GitHub
- URL: https://github.com/saimirkapaj/nextjs-auth-identityserver4
- Owner: SaimirKapaj
- Created: 2020-10-27T13:38:36.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-11-18T15:24:18.000Z (over 5 years ago)
- Last Synced: 2025-01-11T18:09:23.498Z (over 1 year ago)
- Topics: identityserver4, nextauth, nextjs, oidc-client
- Language: JavaScript
- Homepage:
- Size: 91.8 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a [Next.js](https://nextjs.org/) and [`NextAuth.js`](https://https://next-auth.js.org/) project using [`IdentityServer4`](https://identityserver4.readthedocs.io/) as a Authentication Provider.
## Getting Started
First, run the development server:
```bash
npm run dev
# or
yarn dev
```
Open [http://localhost:3000](http://localhost:3000)
## Environment variables
Update the environment variables:
```bash
NEXTAUTH_URL: ''
IdentityServer4_ID = ''
IdentityServer4_NAME = ''
IdentityServer4_SCOPE = ''
IdentityServer4_DOMAIN = ''
IdentityServer4_CLIENT_ID = ''
IdentityServer4_CLIENT_SECRET = ''
```