IridiumIdentity / iridium-nextjs-example

An example on how to integrate Iridium with Next.js

Home Page:https://dev.to/joshfischer1108/from-zero-to-secured-with-iridium-and-your-nextjs-app-180g

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting Started

You can read the details at this dev.to article

Or..

First, create a .env.local file in the root folder of the repo.

$ touch .env.local

Then add these properties to it

NEXT_PUBLIC_IRIDIUM_DOMAIN=${your-specific-iridium-url}
NEXT_PUBLIC_IRIDIUM_REDIRECT_URI=http://localhost:3000/callback
NEXT_PUBLIC_IRIDIUM_CLIENT_ID=${your-iridium-client-id}

Then, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see how Iridium works with Next.js.

About

An example on how to integrate Iridium with Next.js

https://dev.to/joshfischer1108/from-zero-to-secured-with-iridium-and-your-nextjs-app-180g


Languages

Language:TypeScript 88.9%Language:CSS 9.0%Language:JavaScript 2.1%