Pre-requisites
Before installing this package, make sure to follow below steps:1
Request repository access to the Packages
Reach out to IAM team to request access to the Packages repository:
2
Generate a personal access token
Generate a personal access token with the following scopes:
repo
read:packages
repo
read:packages
3
Create an .npmrc file
Create an .npmrc file and add below code:
Install
Download the package using your preferred package manager:Set your environment variables
To configure your application, you’ll need to set the following environment variables in your.env.local file.
These variables are essential for connecting to the IAM service and defining your application settings.
Add IAM provider to your React app
Integrate the IAM provider into your React application by wrapping your components with theIamProvider.
This allows you to leverage IAM functionalities.
Import the styles and provide configuration from environment variables.
layout.tsx