Suggest icon URL for OIDC.

This commit is contained in:
Leo Vasanko
2026-02-17 14:56:24 +00:00
parent 3a05120d06
commit 28f231da8e
+8 -3
View File
@@ -23,6 +23,7 @@ const clientSecret = ref(null)
// Computed // Computed
const discoveryUrl = computed(() => `${window.location.origin}/.well-known/openid-configuration`) const discoveryUrl = computed(() => `${window.location.origin}/.well-known/openid-configuration`)
const clientId = computed(() => props.client?.client_id || props.client?.uuid || '') const clientId = computed(() => props.client?.client_id || props.client?.uuid || '')
const iconUrl = computed(() => `${authStore.settings.auth_site_url}/favicon.ico`)
// Groups (permissions) scoped to this client // Groups (permissions) scoped to this client
const clientGroups = computed(() => { const clientGroups = computed(() => {
@@ -130,9 +131,6 @@ defineExpose({ focusFirstElement })
<span class="small muted"> (Login With, may affect URLs optional)</span> <span class="small muted"> (Login With, may affect URLs optional)</span>
</dd> </dd>
<dt>Auto Discovery URL</dt>
<dd><output @click="copyText(discoveryUrl, 'OpenID Connect Discovery URL')" title="Click to copy">{{ discoveryUrl }}</output></dd>
<dt>Client ID</dt> <dt>Client ID</dt>
<dd><output @click="copyText(clientId, 'Client ID')" title="Click to copy">{{ clientId }}</output></dd> <dd><output @click="copyText(clientId, 'Client ID')" title="Click to copy">{{ clientId }}</output></dd>
@@ -142,6 +140,13 @@ defineExpose({ focusFirstElement })
<span v-else class="small muted">(only stored in hashed form)</span> <span v-else class="small muted">(only stored in hashed form)</span>
</dd> </dd>
<dt>Auto Discovery URL</dt>
<dd><output @click="copyText(discoveryUrl, 'OpenID Connect Auto Discovery URL')" title="Click to copy">{{ discoveryUrl }}</output></dd>
<dt>Icon URL</dt>
<dd><output @click="copyText(iconUrl, 'OpenID Connect Icon URL')" title="Click to copy">{{ iconUrl }}</output></dd>
<template v-if="clientGroups.length"> <template v-if="clientGroups.length">
<dt>Groups Claim Name</dt> <dt>Groups Claim Name</dt>
<dd> <dd>