An open API service indexing awesome lists of open source software.

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

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 = ''
```