This looks like the API container is unable to reach id.example.com from inside Docker. The browser can, but the token exchange happens on the server and times out. Since both run on the same host, try mapping the name to the host via rexctl config edit:
docker exec <your api container> node -e "fetch('https://id.example.com/.well-known/openid-configuration').then(r=>console.log(r.status)).catch(e=>console.log(e.cause))"
If that hangs or errors, it would be a network issue. The next update here also will have a clearer error message for this stating that the provider didn't send a response!
Thread
Comment by Hampus
id.example.comfrom inside Docker. The browser can, but the token exchange happens on the server and times out. Since both run on the same host, try mapping the name to the host viarexctl config edit:Comment by sparajoy
Comment by Hampus
rexctl doctoras well