Technical Support

Ask a Question
Back to All

Issue generating access tokens

The page here - https://documentation.poap.tech/docs/authentication#generating-access-tokens - says that an access token can be generated by populating audience, client_credentials, and client_secret (auth token) with the values provided via email. But all I got in the email was the one time link to expose the client ID and client Secret. There is nothing I can see on audience or client_crednetials for me to be able to populate this CURL request

curl --location --request POST
--url 'https://auth.accounts.poap.xyz/oauth/token'
--header "Content-Type: application/json"
-d '{"audience": "https://api.poap.tech", "grant_type": "client_credentials", "client_id": "$clientid", "client_secret": "$clientsecret"}'

Please help