Follow these steps to reproduce the Safari loop error:
-
Clone the repository:
git clone https://github.com/javialon26/react-router-oidc-safari
-
Install dependencies:
pnpm install
-
Set up environment variables:
- Copy the example environment file:
cp .env.example .env
- Fill in the required information in the
.env
file and save it.
- Copy the example environment file:
-
Build the application for production:
pnpm build
-
Run the preview server:
pnpm preview
-
Open Safari and navigate to the application:
- Go to http://localhost:4173/ in Safari.
Make sure to follow each step carefully to reproduce the error.