add a bunch of icons for oidc providers
No files matched your search
@@ -0,0 +1,3 @@
|
||||
**Icons and Assets**
|
||||
|
||||
Unless otherwise indicated, all images and assets in this folder, including product names, trademarks, and registered trademarks, are the property of their respective owners. These images and assets are used for identification purposes only and their use does not imply endorsement.
|
||||
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 33 KiB |
|
After Width: | Height: | Size: 5.3 KiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 7.4 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 36 KiB |
|
After Width: | Height: | Size: 6.7 KiB |
|
After Width: | Height: | Size: 20 KiB |
@@ -19,6 +19,9 @@ const visiblePassword = ref(false);
|
||||
const loggingIn = ref(false);
|
||||
const loggingInOIDC = ref(false);
|
||||
|
||||
const { ENABLED: oidcEnabled, PROVIDER: oidcProvider } =
|
||||
heartbeatStore.value.OIDC;
|
||||
|
||||
// Functions
|
||||
async function login() {
|
||||
loggingIn.value = true;
|
||||
@@ -109,7 +112,7 @@ async function loginOIDC() {
|
||||
</template>
|
||||
</v-divider>
|
||||
<v-btn
|
||||
v-if="heartbeatStore.value.OIDC.ENABLED"
|
||||
v-if="oidcEnabled"
|
||||
block
|
||||
type="submit"
|
||||
class="bg-terciary"
|
||||
@@ -118,18 +121,20 @@ async function loginOIDC() {
|
||||
:loading="loggingInOIDC"
|
||||
@click="loginOIDC()"
|
||||
>
|
||||
<template v-if="heartbeatStore.value.OIDC.PROVIDER" #prepend>
|
||||
<template v-if="oidcProvider" #prepend>
|
||||
<v-icon size="20">
|
||||
<v-img
|
||||
:src="`https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/${heartbeatStore.value.OIDC.PROVIDER}.png`"
|
||||
:src="`/assets/dashboard-icons/${oidcProvider.toLowerCase()}.png`"
|
||||
>
|
||||
<template #error><v-icon>mdi-key</v-icon></template>
|
||||
<template #error>
|
||||
<v-icon size="20">mdi-key</v-icon>
|
||||
</template>
|
||||
</v-img>
|
||||
</v-icon>
|
||||
</template>
|
||||
{{
|
||||
t("login.login-oidc", {
|
||||
oidc: heartbeatStore.value.OIDC.PROVIDER || "OIDC",
|
||||
oidc: oidcProvider || "OIDC",
|
||||
})
|
||||
}}
|
||||
<template #loader>
|
||||
|
||||