Skip to content

Commit

Permalink
🥺
Browse files Browse the repository at this point in the history
  • Loading branch information
YannickFuereder committed Nov 5, 2023
1 parent 5b2b1d9 commit bc9bbd8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Assets/js/profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,9 @@ async function deleteTrustedSsoClient(clientId) {
function createSSOClient(logoUrl, clientName, websiteUrl, clientId, clientSecret, redirects) {
const item = document.getElementById('ssoCredentials').getElementsByTagName('template')[0].content.cloneNode(true);

item.setAttribute('id', 'sso_' + clientId)
console.log(item);

item.id = 'sso_' + clientId;
item.querySelector('img').src = logoUrl;
item.querySelector('img').alt = clientName;
item.querySelector('img').title = clientName;
Expand Down Expand Up @@ -282,6 +284,8 @@ function createSSOClient(logoUrl, clientName, websiteUrl, clientId, clientSecret
redirectsContainer.appendChild(redirectItem);
});

console.log(item);

return item;
}

Expand Down

0 comments on commit bc9bbd8

Please sign in to comment.