Skip to content

hm-edu/shibboleth-sp-oidc

Repository files navigation

This is a Next.js project bootstrapped with create-next-app, NextAuth.js and MUI.

Getting Started

First, run the development server:

pnpm dev

Open http://localhost:3000 with your browser to see the result.

Shibboleth OIDC Configuration

Create a file called .env.local in the root of the project and add the following:

# next-auth environment variables
NEXTAUTH_DEBUG="<true|false>"
NEXTAUTH_SECRET="<given-secret>"
NEXTAUTH_URL="<given-base-url>"

# shibboleth oidc environment variables
SHIBBOLETH_OIDC_ISSUER_URL="<given-issuer-url>"
SHIBBOLETH_OIDC_SCOPE="<given-scope>"
SHIBBOLETH_OIDC_CLIENT_ID="<given-client-id>"
SHIBBOLETH_OIDC_CLIENT_SECRET="<given-client-secret>"