I currently have prodigy exposed inside my company's network as a containerized application running in AWS. Users are authenticated through AWS's load balancer using Okta.
When users submit an answer, I am using the
validate_answer callback to send the results to a bucket in S3. About every 20-30 answers I am getting an authentication error from Okta that originates from the
validate_answer function that gets included in the
bundle.js. I found one work around in the Okta developer forum (https://devforum.okta.com/t/blocked-by-cors-policy-when-redirect-to-authorize/10135/6) but it requires that I make an HTTP request from the client-side. I tried to use
requests to make the call from the custom recipe that I'm using, but it doesn't seem to work. Is there any way to make a request from the client side?