Skip to content

Commit

Permalink
Merge pull request #12 from civicteam/chore/update_swagger_doc_suppor…
Browse files Browse the repository at this point in the history
…ted_chains

update swagger docs supported chains
  • Loading branch information
mitchcivic authored Jan 31, 2024
2 parents 11c2ba7 + 1afd23b commit 31e77dc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,19 @@ info:
- `ethereum/polygonZKEVMTestnet`
- `ethereum/xdcMainnet`
- `ethereum/xdcApothem`
If your blockchain of choice is not listed above, feel free to reach out to us for more info on when support for your chain is planned.
If your blockchain of choice is not listed above, feel free to reach out to us for more info on when support for your chain is planned.
# Authentication
Authentication follows the [OAuth standard](https://oauth.net/2/). The Civic authentication endpoint is `https://auth.civic.com/oauth/token`. The `grant_type` to request is `client_credentials`.
To manage API authentication we recommend using one of the available [OAuth libraries](https://oauth.net/code/) for your platform.

# Try it out!
You can try out the Civic Pass API by using the following demo credentials to generate an auth token:
- `client_id: j5kwZ68j4bM8fdPAYKu7DlGQGr37eNPs`,
- `client_secret: S1qSiacDUDPRVfxiSvwsRASxE0fH47U60eYeNYIt4JKSVSsgo2yy0n6V-Uz1IYBK`

The demo credentials only work for the development networks:`solana/devnet`, `ethereum/goerli`, `ethereum/xdcApothem`, `ethereum/arbitrumGoerli`. Also, please keep in mind that since these are shared credentials, i.e. others have access to the same Civic Passes and can for example freeze them.
termsOfService: https://www.civic.com/legal/terms-of-service-civic-pass-v1/
Expand Down

0 comments on commit 31e77dc

Please sign in to comment.