- https://selfcare.dev.platform.pagopa.it/ui
- https://selfcare.uat.platform.pagopa.it/ui
- https://selfcare.platform.pagopa.it/ui
https://pagopa.github.io/pagopa-selfcare-frontend/
yarn install
yarn generate
yarn start
- REACT_APP_API_MOCK_PORTAL=true
yarn build
yarn test:coverage
In constants.ts you can set a test token with a default fallback value when the environment variable is not configured.
To obtain a valid test token for local development:
-
Access Development Environment
- Navigate to the dev environment
- Complete the SPID login process
-
Select Demo Configuration
- Choose the demo EC/PSP account
-
Extract Authorization Header
- Open browser Developer Tools
- Monitor network requests (e.g.,
/flagsendpoint) - Copy the
Authorizationheader value
Set the extracted token value in your local environment:
# File: .env.development.local
REACT_APP_JWT=your_authorization_token_here