Issue #3381159 by hosomitm, yas: Refactor SPA well-Known protocol retrieval to use API instead of hardcoding