internet-identity icon indicating copy to clipboard operation
internet-identity copied to clipboard

Read canister id from 500 status response

Open lmuntaner opened this issue 7 months ago • 0 comments

Yesterday in a debugging session with Civic I realized that the problem was that they had as a derivation origin a custom domain pointing to a backend canister that was only serving the alternative domains path. Therefore, II couldn't resolve the canister id because it kept getting a 500 error in the HEAD request.

I asked them to change the derivation origin to the canister id url .icp0.io to unblock them.

Even though it might be an edge case to have a derivation origin a backend canister with a custom domain, I don't see why we shouldn't support it.

Conclusion: I removed the status check from the response to read the canister id from the headers.


🟡 Some screens were changed

lmuntaner avatar Jul 04 '24 06:07 lmuntaner