Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 720 Bytes

File metadata and controls

18 lines (13 loc) · 720 Bytes

back

Authentication

By default, authentication is provided by the Swiss federal government's eIAM through ADFS. NextAuth is used to integrate the application with eIAM through a custom provider. For testing locally and for Vercel preview deployments, a NextAuth Credentials provider is used that automatically signs the user in as a shared test account.

Locally

For local authentication, you can use the eIAM ref environment. ADFS environment variables should be configured in your .env.local file.

Make sure to set the NEXTAUTH_URL environment variable to https://localhost:3000 and run the dev server with yarn dev:ssl.