zklogin.config
Sign-in settings: accepted issuers, free allowance, proof price and whether the prover is up.
Details
- Endpoint
- GET /v1/zklogin/config
- Credits
- Free
- Rate class
- None. Never limited by class.
Public and free. Lists the issuers tide accepts with their key URLs, the monthly free proofs per app, the credits per proof past that, and whether the prover is answering.
Parameters
This method takes no parameters.
Request
Send your key in the x-api-key header, or leave it out to use the keyless tier.
curl
curl "https://api.tide.ad/v1/zklogin/config" \
-H "x-api-key: YOUR_API_KEY"TypeScript
const res = await fetch("https://api.tide.ad/v1/zklogin/config", {
headers: {
"x-api-key": process.env.TIDE_API_KEY!,
},
});
const data = await res.json();Response
JSON
{
"issuers": [
{
"name": "Google",
"iss": "https://accounts.google.com",
"jwks": "https://www.googleapis.com/oauth2/v3/certs"
}
],
"freeProofsMonth": 50000,
"proofCredits": 1000,
"prover": {
"up": true,
"queue": 0
}
}