add a bunch of icons for oidc providers
3
frontend/assets/dashboard-icons/LICENSE
Normal file
@@ -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.
|
||||
BIN
frontend/assets/dashboard-icons/auth0.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
frontend/assets/dashboard-icons/authelia.png
Normal file
|
After Width: | Height: | Size: 33 KiB |
BIN
frontend/assets/dashboard-icons/authentik.png
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
BIN
frontend/assets/dashboard-icons/aws.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
frontend/assets/dashboard-icons/azure.png
Normal file
|
After Width: | Height: | Size: 7.4 KiB |
BIN
frontend/assets/dashboard-icons/firebase.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
frontend/assets/dashboard-icons/google.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
frontend/assets/dashboard-icons/hydra.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
frontend/assets/dashboard-icons/keycloak.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
frontend/assets/dashboard-icons/okta.png
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
frontend/assets/dashboard-icons/ping.png
Normal file
|
After Width: | Height: | Size: 6.7 KiB |
BIN
frontend/assets/dashboard-icons/zitadel.png
Normal file
|
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>
|
||||
|
||||