Setup Development Environment
Auth Server Setup
Clone didPass repository then checkout to
developmentbranch
git clone https://github.com/GDP-ADMIN/didPass.gitCopy auth-server
.env.exampleas.envand Set Environment Variables in.env
Set Environment Variables
Setup Auth0
Create new Application, select Native

Auth0 Create New Application Select React Native as the
Native SDK
Go to your application (from step 1 & 2) settings on Auth0 site
Copy
DomaintoAPP_ISSUERvalue andJWKS_URLvalueAPP_ISSUER=https://<placeholder(Auth0 Application Domain)>/ JWKS_URL=https://<placeholder(Auth0 Application Domain)>/.well-known/jwks.jsonCopy
Client IDtoAPP_AUDIENCEvalueAPP_AUDIENCE=<placeholder(Auth0 Application Client ID)>
Setup Pinata
Create new API KEY, check the
Adminoption and set theKey Name(any name)
Pinata Create New Key Click
Create KeyButtonCopy the
API Keyon pinata's site toPINATA_API_KEYPINATA_API_KEY=<placeholder(Pinata API key)>Copy the
API Secreton pinata's site toPINATA_SECRET_API_KEYPINATA_SECRET_API_KEY=<placeholder(Pinata Secret API key)>
Run ngrok
ngrok http 3000, copy forwarding url and fillNEXT_PUBLIC_URLvalue.
Here is the full .env
Last updated