You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/authentication.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -144,7 +144,7 @@ If you'd also like to prevent direct visit access to your configuration file, yo
144
144
145
145
With basic auth, all logic is happening on the client-side, which could mean a skilled user could manipulate the code to view parts of your configuration, including the hash. If the SHA-256 hash is of a common password, it may be possible to determine it, using a lookup table, in order to find the original password. Which can be used to manually generate the auth token, that can then be inserted into session storage, to become a valid logged in user. Therefore, you should always use a long, strong and unique password, and if you instance contains security-critical info and/ or is exposed directly to the internet, and alternative authentication method may be better. The purpose of the login page is merely to prevent immediate unauthorized access to your homepage.
146
146
147
-
********[⬆️ Back to Top](#)********
147
+
****[⬆️ Back to Top](#)****
148
148
149
149
---
150
150
@@ -154,7 +154,7 @@ If you'd like to protect all your config files from direct access, you can set t
154
154
155
155
Then, if you'd like your frontend to automatically log you in, without prompting you for credentials (insecure, so only use on a trusted environment), then also specify `VUE_APP_BASIC_AUTH_USERNAME` and `VUE_APP_BASIC_AUTH_PASSWORD`. This is useful for when you're hosting Dashy on a private server, and just want to use auth for user management and to prevent direct access to your config files, while still allowing the frontend to access them. Note that a rebuild is required for these changes to take effect.
156
156
157
-
********[⬆️ Back to Top](#)********
157
+
****[⬆️ Back to Top](#)****
158
158
159
159
---
160
160
@@ -645,4 +645,4 @@ There are also authentication services, such as [Ory.sh](https://www.ory.sh/), [
645
645
646
646
If you are hosting Dashy on a cloud platform, you will probably find that it has built-in support for password protected access to web apps. For more info, see the relevant docs for your provider, for example: [Netlify Password Protection](https://docs.netlify.com/visitor-access/password-protection/), [Cloudflare Access](https://www.cloudflare.com/teams/access/), [AWS Cognito](https://aws.amazon.com/cognito/), [Azure Authentication](https://docs.microsoft.com/en-us/azure/app-service/scenario-secure-app-authentication-app-service) and [Vercel Password Protection](https://vercel.com/docs/platform/projects#password-protection).
Copy file name to clipboardExpand all lines: docs/configuring.md
+20-20Lines changed: 20 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,7 @@ The following file provides a reference of all supported configuration options.
64
64
**`sections`** | `array` | Required | An array of sections, each containing an array of items, which will be displayed as links. See [`section`](#section)
65
65
**`pages`** | `array` | _Optional_ | An array additional config files, used for multi-page dashboards. See [`pages`](#pages-optional)
66
66
67
-
********[⬆️ Back to Top](#)********
67
+
****[⬆️ Back to Top](#)****
68
68
69
69
## `PageInfo`
70
70
@@ -76,7 +76,7 @@ The following file provides a reference of all supported configuration options.
76
76
**`footerText`** | `string` | _Optional_ | Text to display in the footer (note that this will override the default footer content). This can also include HTML and inline CSS
77
77
**`logo`** | `string` | _Optional_ | The path to an image to display in the header (to the right of the title). This can be either local, where `/` is the root of `./public`, or any remote image, such as `https://i.ibb.co/yhbt6CY/dashy.png`. It's recommended to scale your image down, so that it doesn't impact load times
78
78
79
-
********[⬆️ Back to Top](#)********
79
+
****[⬆️ Back to Top](#)****
80
80
81
81
## `pageInfo.navLinks`_(optional)_
82
82
@@ -86,7 +86,7 @@ The following file provides a reference of all supported configuration options.
86
86
**`path`** | `string` | Required | The URL to navigate to when clicked. Can be relative (e.g. `/about`) or absolute (e.g. `https://example.com` or `http://192.168.1.1`)
87
87
**`target`** | `string` | _Optional_ | The opening method (external links only). Can be either `newtab`, `sametab`, `top` or `parent`. Defaults to `newtab`
88
88
89
-
********[⬆️ Back to Top](#)********
89
+
****[⬆️ Back to Top](#)****
90
90
91
91
## `pages[]`_(optional)_
92
92
@@ -97,7 +97,7 @@ The following file provides a reference of all supported configuration options.
97
97
98
98
For more info, see the[Multi-Page docs](/docs/pages-and-sections#multi-page-support)
99
99
100
-
********[⬆️ Back to Top](#)********
100
+
****[⬆️ Back to Top](#)****
101
101
102
102
## `appConfig`_(optional)_
103
103
@@ -141,7 +141,7 @@ For more info, see the[Multi-Page docs](/docs/pages-and-sections#multi-page-supp
141
141
**`enableServiceWorker`** | `boolean` | _Optional_ | Service workers cache web applications to improve load times and offer basic offline functionality, and are disabled by default in Dashy. The service worker can sometimes cause older content to be cached, requiring the app to be hard-refreshed. If you do not want SW functionality, or are having issues with caching, set this property to `false` to disable all service workers.
142
142
**`disableContextMenu`** | `boolean` | _Optional_ | If set to `true`, the custom right-click context menu will be disabled. Defaults to `false`.
143
143
144
-
********[⬆️ Back to Top](#)********
144
+
****[⬆️ Back to Top](#)****
145
145
146
146
## `appConfig.auth`_(optional)_
147
147
@@ -166,7 +166,7 @@ For more info, see the[Multi-Page docs](/docs/pages-and-sections#multi-page-supp
166
166
167
167
For more info, see the **[Authentication Docs](/docs/authentication)**
168
168
169
-
********[⬆️ Back to Top](#)********
169
+
****[⬆️ Back to Top](#)****
170
170
171
171
## `appConfig.auth.users`_(optional)_
172
172
@@ -176,7 +176,7 @@ For more info, see the **[Authentication Docs](/docs/authentication)**
176
176
**`hash`** | `string` | Required | A SHA-256 hashed password
177
177
**`type`** | `string` | _Optional_ | The user type, either admin or normal
178
178
179
-
********[⬆️ Back to Top](#)********
179
+
****[⬆️ Back to Top](#)****
180
180
181
181
## `appConfig.auth.keycloak`_(optional)_
182
182
@@ -187,7 +187,7 @@ For more info, see the **[Authentication Docs](/docs/authentication)**
187
187
**`clientId`** | `string` | Required | The Client ID of the client you created for use with Dashy
188
188
**`legacySupport`** | `boolean` | _Optional_ | If using Keycloak 17 or older, then set this to `true`
189
189
190
-
********[⬆️ Back to Top](#)********
190
+
****[⬆️ Back to Top](#)****
191
191
192
192
## `appConfig.auth.headerAuth`_(optional)_
193
193
@@ -196,7 +196,7 @@ For more info, see the **[Authentication Docs](/docs/authentication)**
196
196
**`userHeader`** | `string` | _Optional_ | The Header name which contains username (default: REMOTE_USER). Case insensitive
197
197
**`proxyWhitelist`** | `array` | Required | An array of Upstream proxy servers to expect authencticated requests from
198
198
199
-
********[⬆️ Back to Top](#)********
199
+
****[⬆️ Back to Top](#)****
200
200
201
201
## `appConfig.auth.oidc`_(optional)_
202
202
@@ -208,7 +208,7 @@ For more info, see the **[Authentication Docs](/docs/authentication)**
208
208
**`adminGroup`** | `string` | _Optional_ | The group that will be considered as admin.
209
209
**`scope`** | `string` | Required | The scope(s) to request from the OIDC provider
210
210
211
-
********[⬆️ Back to Top](#)********
211
+
****[⬆️ Back to Top](#)****
212
212
213
213
## `appConfig.webSearch`_(optional)_
214
214
@@ -221,7 +221,7 @@ For more info, see the **[Authentication Docs](/docs/authentication)**
221
221
**`searchBangs`** | `object` | _Optional_ | A key-value-pair set of custom search _bangs_ for redirecting query to a specific app or search engine. The key of each should be the bang you will type (typically starting with `/`, `!` or `:`), and value is the destination, either as a search engine key (e.g. `reddit`) or a URL with search parameters (e.g. `https://en.wikipedia.org/w/?search=`)
222
222
**`openUrlsDirectly`** | `boolean` | _Optional_ | If `true`, queries that look like URLs will be opened directly instead of searched. Defaults to `false`
223
223
224
-
********[⬆️ Back to Top](#)********
224
+
****[⬆️ Back to Top](#)****
225
225
226
226
## `appConfig.hideComponents`_(optional)_
227
227
@@ -233,7 +233,7 @@ For more info, see the **[Authentication Docs](/docs/authentication)**
233
233
**`hideSettings`** | `boolean` | _Optional_ | If set to `true`, the settings menu will be initially collapsed. Defaults to `false`
234
234
**`hideFooter`** | `boolean` | _Optional_ | If set to `true`, the footer will not be visible. Defaults to `false`
235
235
236
-
********[⬆️ Back to Top](#)********
236
+
****[⬆️ Back to Top](#)****
237
237
238
238
## `section`
239
239
@@ -245,7 +245,7 @@ For more info, see the **[Authentication Docs](/docs/authentication)**
245
245
**`widgets`** | `array` | _Optional_ | An array of widgets to be displayed within the section. See [`widget`](#sectionwidgets-optional)
246
246
**`displayData`** | `object` | _Optional_ | Meta-data to optionally override display settings for a given section. See [`displayData`](#sectiondisplaydata-optional)
247
247
248
-
********[⬆️ Back to Top](#)********
248
+
****[⬆️ Back to Top](#)****
249
249
250
250
## `section.item`
251
251
@@ -270,7 +270,7 @@ For more info, see the **[Authentication Docs](/docs/authentication)**
270
270
**`provider`** | `string` | _Optional_ | The name of the provider for a given service, useful for when including hosted apps. In some themes, this is visible under the item name
271
271
**`displayData`** | `object` | _Optional_ | Meta-data to optionally override display settings for a given item. See [`displayData`](#itemdisplaydata-optional)
272
272
273
-
********[⬆️ Back to Top](#)********
273
+
****[⬆️ Back to Top](#)****
274
274
275
275
## `item.displayData`_(optional)_
276
276
@@ -283,7 +283,7 @@ For more info, see the **[Authentication Docs](/docs/authentication)**
283
283
**`showForKeycloakUsers`** | `object` | _Optional_ | Current item will be hidden from all keycloak users, except for those configured via these groups and roles. See `showForKeycloakUsers`
284
284
**`hideFromWorkspace`** | `boolean` | _Optional_ | Current item will be visible in the default view but not in the Workspace view sidebar. Defaults to `false`
285
285
286
-
********[⬆️ Back to Top](#)********
286
+
****[⬆️ Back to Top](#)****
287
287
288
288
## `section.widgets`_(optional)_
289
289
@@ -297,7 +297,7 @@ For more info, see the **[Authentication Docs](/docs/authentication)**
297
297
**`ignoreErrors`** | `boolean` | _Optional_ | Prevent an error message being displayed, if a network request or something else fails. Useful for false-positives
298
298
**`label`** | `string` | _Optional_ | Add custom label to a given widget. Useful for identification, if there are multiple of the same type of widget in a single section
299
299
300
-
********[⬆️ Back to Top](#)********
300
+
****[⬆️ Back to Top](#)****
301
301
302
302
## `section.displayData`_(optional)_
303
303
@@ -321,15 +321,15 @@ For more info, see the **[Authentication Docs](/docs/authentication)**
321
321
**`showForKeycloakUsers`** | `object` | _Optional_ | Current section will be hidden from all keycloak users, except for those configured via these groups and roles. See `showForKeycloakUsers`
322
322
**`hideFromWorkspace`** | `boolean` | _Optional_ | Current section will be visible in the default view but not in the Workspace view sidebar. Defaults to `false`
**`icon`** | `string` | _Optional_ | The icon for a given item or section. <br />See [Icon Docs](/docs/icons) for all available supported icon types, including: auto-fetched favicons, generative icons, emoji icons, home-lab service logos, font-awesome, simple-icons, material icons, selfh.st icons, and icons specified by URL
331
331
332
-
********[⬆️ Back to Top](#)********
332
+
****[⬆️ Back to Top](#)****
333
333
334
334
## `section.displayData.hideForKeycloakUsers`, `section.displayData.showForKeycloakUsers`, `item.displayData.hideForKeycloakUsers` and `item.displayData.showForKeycloakUsers`
335
335
@@ -338,7 +338,7 @@ For more info, see the **[Authentication Docs](/docs/authentication)**
338
338
**`groups`** | `string[]` | _Optional_ | Current Section or Item will be hidden or shown based on the user having any of the groups in this list
339
339
**`roles`** | `string[]` | _Optional_ | Current Section or Item will be hidden or shown based on the user having any of the roles in this list
340
340
341
-
********[⬆️ Back to Top](#)********
341
+
****[⬆️ Back to Top](#)****
342
342
343
343
---
344
344
@@ -414,4 +414,4 @@ If you need any help, feel free to [Raise an Issue](https://github.com/Lissy93/d
0 commit comments