Commit Graph

56 Commits

Author SHA1 Message Date
si458 d7341ab153 display flash errors for external auths like saml or oidc on the login screen #6154
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-06-11 20:06:19 +01:00
Simon Smith ccf57bee1a
add missing rights to meshctrl and meshServerRightsArrayToNumber (#6004)
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-04-09 13:31:00 +01:00
tschettervictor 3ffc92e917
Update common.js (#5895)
typo

Co-authored-by: Ylian Saint-Hilaire <ysainthilaire@hotmail.com>
2024-03-03 17:50:26 -08:00
mstrhakr 4be5b7273e
Migrate to openid client (#5856)
* Create forksync.yml

* update oidc to use openid-client

* update oidc module requirements

* working oidc+

includes all oauth2 clients automatically migrated. azure will need some kind of fix for the uid

* update openid-client install checks

* created overarching schema for OIDC

* bug fixs for azure login

* update schema

prepare schema for unified oidc module

* update 'oidc' to strategy variable

* working azure+ groups

groups from azure are in,
you can use memberOf or transitiveMemberOf in config (Graphs API)

* clean up old config import + working google oidc

previous config map was recursive nonsense, changed to multiple IFs

* added convertStrArray

* de-expanded scope

put all other auth strategies back to normal and fixed oidc strategy

* swap back to using authlog debugger

* Update meshcentral-config-schema.json

* working google oidc + groups

* working azure+groups (again)

* init oidc docs

very incomplete but basic config is present

* add oidc

* more work on docs

* add scope and claim options

plus fixed a few bugs and faults in my logic
used logs correctly

* further cleanup debug

* more debug cleanup

* continue documentation push

fixed minor debug bugs also

* more work on docs

missing links, need to get azure preset docs, probably more.

* done with docs

its good enough for now

* minor fix + presets get correct icon

* fix google oidc not visible at login

* fix bug with emailVerified property

* fix logout bug + debug cleanup

* fix strategy logout bug +cleanup

* fixed preset login icon

* fix alert + fix schema

* terminate lines

* Dutch language update 1.0.85

line up polish translation

* Fixed guest web relay session revocation (#4667)

* Updated French translation.

* Add hook to allow adding custom api endpoints to Express routing

* Updated German translation.

* Update meshcentral-config-schema.json (change formatting)

This way it is easier to edit and maintain

* Fixed schema.

* fix meshcentral-config-schema.json

* add language selector to login (#5648)

* add language selector to login

* add showLanguageSelect to pick top or bottom boxe

* remove additionalProperties: false in schema to allow comments #5697

Signed-off-by: si458 <simonsmith5521@gmail.com>

* fix notes in docs

* Fix web relay session handling and redirection due to bad merge

* Added option to check HTTP origin.

* add links and fix typo

* move groups after strategy

* Update version split in docs

* Fix preset issuer URL in OIDC strategy

* Update clientid and clientsecret to client_id and client_secret

* Update meshcentral-config-schema.json and fix bad rebase

* Update meshcentral-config-schema.json

* fix bad rebase

* fix bad rebase

* Add 'connect-flash' to passport dependencies

* Remove unnecessary passport dependencies - fix bad rebase

* Fix auth strategy bug and remove console.log statement

* Set groupType to the preset name if it exists, otherwise use the strategy name

* remove finally block from

* Refactor authentication logging in handleStrategyLogin to include strategy name

---------

Signed-off-by: si458 <simonsmith5521@gmail.com>
Co-authored-by: petervanv <58996467+petervanv@users.noreply.github.com>
Co-authored-by: Ylian Saint-Hilaire <ysainthilaire@hotmail.com>
Co-authored-by: Martin Mädler <martin.maedler@gmail.com>
Co-authored-by: Fausto Gutierrez <28719096+faustogut@users.noreply.github.com>
Co-authored-by: Simon Smith <simonsmith5521@gmail.com>
2024-03-03 16:03:27 -08:00
Ylian Saint-Hilaire e8c4f322cb Fix for saving SSH/RDP credentials when a dot is in the username, #5833 2024-03-03 11:13:16 -08:00
Ylian Saint-Hilaire 4087a02fdb Fixed config.json capitalization issue. 2022-11-04 11:50:42 -07:00
Ylian Saint-Hilaire 60af01a165 Fixed Telegram proxy issue (#4703) 2022-11-02 13:59:00 -07:00
Ylian Saint-Hilaire 15ee1feca5 When some files are re-generated, the old copy is now kept as -old. 2022-08-26 14:19:28 -07:00
Ylian Saint-Hilaire 1f239481b7 Added basic AceBase support (#4398) 2022-08-13 18:32:17 -07:00
Ylian Saint-Hilaire b760bb6116 Fix agent metadata (agentFileInfo), the ProductVersion and FileVersion. 2022-08-04 01:47:36 -07:00
silversword411 311965089e
typo-hunting v2 2022-07-19 16:24:59 -04:00
Tung Hoang bf113954a5 Validate user email domain when adding a new user 2022-03-15 22:11:34 -07:00
Ylian Saint-Hilaire 836ad768ac Updated headers. 2022-01-23 23:21:24 -08:00
Linus Heckemann 63b52fa1f6 Handle all configured paths as potentially absolute 2021-08-04 09:29:48 +02:00
Ylian Saint-Hilaire 85ef5fca26 Added fetching previous Intel AMT activation passwords into table. 2021-04-03 18:29:02 -07:00
Ylian Saint-Hilaire fc7bb97a37 Added extra sysinfo validation. 2021-02-28 23:39:50 -08:00
Ylian Saint-Hilaire 956fdd8ca8 Fixed random bias. 2021-02-08 18:23:29 -08:00
Ylian Saint-Hilaire b195852399 Updated file headers. 2021-01-09 14:31:09 -08:00
Ylian Saint-Hilaire 08e075b4b3 Replaced unsupported randomint() 2020-09-23 00:18:17 -07:00
Ylian Saint-Hilaire c65098c6fa Security improvements. 2020-09-22 14:25:22 -07:00
Ylian Saint-Hilaire 1059382dd8 Added group device tag editing. 2020-07-30 17:34:15 -07:00
Ylian Saint-Hilaire a7ea8fead5 Added URL args validation. 2020-06-21 01:45:24 -07:00
Ylian Saint-Hilaire 2bd1d55403 Added newAccountsRights to SSO strategies 2020-05-28 18:04:30 -07:00
Ylian Saint-Hilaire 1c4e8ab607 Fixed numeric password requirement check. 2020-05-01 23:53:32 -07:00
Ylian Saint-Hilaire 2314a58cd2 More work done on per-device permissions. 2020-03-26 19:33:13 -07:00
Ylian Saint-Hilaire 90691f7273 Fixed ordering in translate.json. 2020-03-22 13:33:21 -07:00
Ylian Saint-Hilaire 393ab66bf4 Fixed getDomain() when domain uses DNS. 2020-02-18 12:02:42 -08:00
Ylian Saint-Hilaire a466c2fed1 Fixed EXDEV error on rename. 2020-01-31 14:44:11 -08:00
Ylian Saint-Hilaire 85d4972068 Fixed translation tools output format. 2020-01-07 17:12:09 -08:00
Ylian Saint-Hilaire d9595f4bf2 Translation tools improvements. 2020-01-07 15:10:12 -08:00
Ylian Saint-Hilaire fdd56b2dc5 Updated file headers. 2020-01-02 18:30:12 -08:00
Ylian Saint-Hilaire d42c54f32e More user group UI improvements. 2019-12-29 22:38:53 -08:00
Ylian Saint-Hilaire 1f06f91610 Improved support for reverse-proxy certificate loading. 2019-10-29 16:17:29 -07:00
Ylian Saint-Hilaire 38f9eadcd3 Fixed geolocation map, broken device group creation. 2019-10-11 15:14:38 -07:00
Ylian Saint-Hilaire bd50214b73 Improved recording filenames. 2019-09-25 17:06:35 -07:00
Ylian Saint-Hilaire 6e4c32a162 Fixed bad minified meshcore modules, added session player and session recording fixes 2019-08-10 22:34:21 -07:00
Ylian Saint-Hilaire b0e2914f92 Can now batch add users to a device group. 2019-05-30 12:40:10 -07:00
Ylian Saint-Hilaire 3ab8061d59 Fixed autobackup settings. 2019-05-27 11:58:31 -07:00
Ylian Saint-Hilaire 48d554a05d Added LDAP support. 2019-04-11 13:41:51 -07:00
Ylian Saint-Hilaire a28568f270 Server fixes, mesh agent download now has group name. 2019-02-25 14:35:08 -08:00
Ylian Saint-Hilaire a5b5124e5f Added priorities in task queue. 2019-02-08 14:17:35 -08:00
Ylian Saint-Hilaire 39380ef926 Removed dependency on browser cookies to make the site work. 2019-01-28 15:47:54 -08:00
Ylian Saint-Hilaire f18d201188 Server code cleanup & fixes. 2019-01-05 12:04:18 -08:00
Ylian Saint-Hilaire acbfec18d9 Changed copyrights headers for 2019. 2019-01-03 16:22:15 -08:00
Ylian Saint-Hilaire b66e74766f Added password requirements checking. 2018-12-20 14:14:37 -08:00
Ylian Saint-Hilaire 6e70037a3e Updated minified files, email regex. 2018-10-16 14:51:54 -07:00
Ylian Saint-Hilaire c531b64643 Partinally ran code thru JsHint 2018-08-29 17:40:30 -07:00
Ylian Saint-Hilaire 312b937e62 All JavaScript code is now 'strict' 2018-08-27 12:24:15 -07:00
Ylian Saint-Hilaire 81ccbae15c Fixed usernames that include a dot (.) 2018-07-13 19:18:43 -07:00
Ylian Saint-Hilaire 8580f54861 Fixed email validation on server and web page 2018-05-16 15:49:12 -07:00