Follow changes of oidc-test: move all resources to json; use buttons
Some checks failed
/ build (push) Failing after 8s

This commit is contained in:
phil 2025-02-07 16:45:27 +01:00
parent 553e85a5d5
commit 88423b26dd
3 changed files with 44 additions and 43 deletions

View file

@ -74,7 +74,9 @@ function initializeTokenInterceptor(keycloak: Keycloak) {
}
async function checkHref(elem: HTMLLinkElement) {
await resourceServer.get(elem.href).then(
const url = elem.getAttribute("resource-id")
if (!url) return
await resourceServer.get(url).then(
resp => {
elem.classList.add("hasResponseStatus")
elem.classList.add("status-" + resp.status)