mercredi 29 avril 2020

Testcafe and cloudflare

Cloudflare Access expects both values as headers in the request sent to the application. Name them as follows:

CF-Access-Client-Id: <Client ID>
CF-Access-Client-Secret: <Client Secret>
https://developers.cloudflare.com/access/service-auth/service-token/

I am new to TestCafe and i have done several tests on our production website and it worked well. However now when i try to access our application on Test environment which is behind cloudfare, i am failing to get through. i read that i should send in headers the above two values. Does anyone know how i can do this in TestCafe? Do let me know if I am missing out any information. Thank you in advance :)

Aucun commentaire:

Enregistrer un commentaire