π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
π©Ή Small inconsistency in the warning msg for numeric OIDCs
Alicia Sykes82da56363057
diff --git a/src/utils/KeycloakAuth.js b/src/utils/KeycloakAuth.jsindex bcd333f6..16fb2f44 100644--- a/src/utils/KeycloakAuth.js+++ b/src/utils/KeycloakAuth.js@@ -23,8 +23,8 @@ class KeycloakAuth {if (typeof clientId === 'number' && !Number.isSafeInteger(clientId)) {ErrorHandler('Keycloak clientId appears invalid. ',- 'You passed it as a number, and it is too long to be parsed without loosing precision. ',- 'Wrap it in quotes in your conf.yml (e.g. clientId: "12345") to force it to be a string. ',+ 'You passed it as a number, and it is too long to be parsed without loosing precision. '+ + 'Wrap it in quotes in your conf.yml (e.g. clientId: "12345") to force it to be a string.',);}const url = legacySupport ? `${serverUrl}/auth` : serverUrl;diff --git a/src/utils/OidcAuth.js b/src/utils/OidcAuth.jsindex 957c3144..029ba773 100644--- a/src/utils/OidcAuth.js+++ b/src/utils/OidcAuth.js@@ -28,8 +28,8 @@ class OidcAuth {if (typeof clientId === 'number' && !Number.isSafeInteger(clientId)) {ErrorHandler('Your OIDC appears invalid. ',- 'You passed it as a number, and it is too long to be parsed without loosing precision. ',- 'Wrap it in quotes in your conf.yml (e.g. clientId: "12345") to force it to be a string. ',+ 'You passed it as a number, and it is too long to be parsed without loosing precision. '+ + 'Wrap it in quotes in your conf.yml (e.g. clientId: "12345") to force it be a string.',);}const settings = {