Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .env.local.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@ WORKOS_CLIENT_ID=
WORKOS_API_KEY=

# Needed for authkit-nextjs library example, defined in WorkOS dashboard
WORKOS_REDIRECT_URI=
NEXT_PUBLIC_WORKOS_REDIRECT_URI=

# Needed for authkit-nextjs library example. Must be at least 32 characters long
WORKOS_COOKIE_PASSWORD=

# Only needed for the "with session" example. A base64-encoded signing key
JWT_SECRET_KEY=

# Only needed for the Single Sign-On example
SSO_ENABLED_ORGANIZATION_ID=

3 changes: 0 additions & 3 deletions .eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ You will need a [WorkOS account](https://dashboard.workos.com/signup).

## Running the example

1. Install dependencies with `npm install` or `yarn install`
1. Install dependencies with `npm install`
2. Set up your **Environment variables** by signing into your [WorkOS dashboard](https://dashboard.workos.com), navigate to **API Keys** and copy the **Client ID** and the **Secret Key** (API Key).
Rename the `.env.local.example` file to `.env.local` and supply your _Client ID_ and _Secret Key_.

Expand Down
10 changes: 10 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import nextCoreWebVitals from 'eslint-config-next/core-web-vitals';

// `next lint` was removed in Next.js 16, and @next/eslint-plugin-next now
// defaults to ESLint's flat config format.
const config = [
{ ignores: ['.next/**', 'out/**', 'build/**', 'next-env.d.ts'] },
...nextCoreWebVitals,
];

export default config;
Loading