Ajax request to cloud run service that requires authentication
问题 I'm having a CORS related issue with google cloud run on a service that requires authentication. If I try to execute a curl command through the cli, with a Bearer token, everything works fine. Unfortunately if I try to execute the same call through ajax in javascript, I receive a 403. const http = new XMLHttpRequest(); const url = 'https://my-app.run.app'; http.open("GET", url); http.withCredentials = true; http.setRequestHeader("authorization", 'Bearer ' + id_token); http.send(); http