Skip to content
This repository was archived by the owner on Jun 17, 2025. It is now read-only.

saleor/example-auth-openidconnect-nextjs-pages-apollo

Example: Auth in Next.js using OpenID Connect and Apollo Client

Warning

This repository is not longer maintained - go to https://github.com/saleor/examples for Saleor examples

Prerequisites

  • PNPM v9
  • Saleor instance with configured OIDC provider (see docs on how to configure it)

Getting Started

You need to set up the OpenID Connect plugin in your Saleor dashboard.

Copy .env.example to .env and set your Saleor instance URL with the NEXT_PUBLIC_SALEOR_URL environment variable.

Install dependencies:

pnpm install

Run the development server:

pnpm run dev

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

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •