Commit Graph

111 Commits

Author SHA1 Message Date
Ylian Saint-Hilaire bab35e7bca Removed Reddit auth strategy since it never worked well. 2024-03-03 16:34:01 -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
Simon Smith 4171a0766f fix pwa manifest
Signed-off-by: Simon Smith <simonsmith5521@gmail.com>
2023-10-06 18:24:51 +00:00
Ylian Saint-Hilaire 90e271df97 Telegram 2FA fixes (#4650) 2022-10-23 08:49:54 -07:00
Ylian Saint-Hilaire e2cf723c6a Added support for 2FA messaging (#4650) 2022-10-22 12:59:12 -07:00
Ylian Saint-Hilaire 04fb1f2bf0 Added CAPTCHA option when creating new accounts on login screen. 2022-07-11 14:35:05 -07:00
Ylian Saint-Hilaire ea7e98b3b4 Added BREACH attack mittigation, #4084 2022-06-08 10:47:23 -07:00
mstrhakr f9e92a9e04 added oidc lines to views 2022-04-06 12:39:13 -04:00
Ylian Saint-Hilaire 15ddd3cd00 Added autofido2fa option in PasswordRequirements, #2952 2021-07-28 10:35:33 -07:00
Ylian Saint-Hilaire 21aabc676d Added 2FA timeout on login screen, default is 5 minutes. 2021-07-24 15:14:21 -07:00
Ylian Saint-Hilaire 302f1b0bba #2381, can now remove autocomplete on login page. 2021-03-18 22:13:11 -07:00
Ylian Saint-Hilaire 2c292a9842 Login page HD images. 2021-01-09 02:40:46 -08:00
Ylian Saint-Hilaire d1aeaaf02d Version 0.7.30 2020-12-19 18:35:22 -08:00
Ylian Saint-Hilaire 9af599e4df Added server maintenance mode. 2020-11-20 16:43:58 -08:00
Ylian Saint-Hilaire dd63851403 Fixed server crash in AMT manager. 2020-10-28 14:46:40 -07:00
Ylian Saint-Hilaire 6411fbea42 Fixed account password reset when used with 2FA accounts. 2020-09-25 13:58:36 -07:00
Ylian Saint-Hilaire 8726254e36 Fixed spelling errors and missing &reg; 2020-09-08 13:33:52 -07:00
Ylian Saint-Hilaire 9b2b48e229 Added Apple touch icon. 2020-08-18 18:29:13 -07:00
Ylian Saint-Hilaire 984ce8b201 More code clean up and input validation. 2020-07-06 15:04:22 -07:00
Ylian Saint-Hilaire 05b93303f5 MeshMessenger Fixes. 2020-06-21 13:41:36 -07:00
Ylian Saint-Hilaire d6daf8e2b1 Added html lang tag to all translated web pages. 2020-06-12 14:16:24 -07:00
Ylian Saint-Hilaire 1922e6c958 Added support for Azure Active Directory. 2020-05-24 00:04:49 -07:00
Ylian Saint-Hilaire 0f18e3a5cf New MeshAgents on all platforms. 2020-05-21 00:25:35 -07:00
Ylian Saint-Hilaire 5a06c46d3e Added SAML, JumpCloud support. 2020-05-20 00:39:17 -07:00
Ylian Saint-Hilaire 7b1c553ca8 Started work on added JumpCloud support. 2020-05-19 19:02:27 -07:00
Ylian Saint-Hilaire 7ca1e1e907 More OAuth work. 2020-05-14 01:41:03 -07:00
Ylian Saint-Hilaire 906d43d367 Started work on OAuth support. 2020-05-13 20:49:58 -07:00
Ylian Saint-Hilaire d5ae0e10eb More minification improvements. 2020-05-01 23:11:43 -07:00
Ylian Saint-Hilaire 8a624bb946 Fixed and improved minified mode. 2020-05-01 20:16:57 -07:00
Ylian Saint-Hilaire b3e5912803 Fixed 2FA minified login page 2020-05-01 00:08:53 -07:00
Ylian Saint-Hilaire d54dcdc6b8 Improved 2FA trusted cookie. 2020-04-29 15:45:31 -07:00
Ylian Saint-Hilaire ed3a0c2eac SMS support in mobile web app + UI fixes. 2020-04-22 18:49:17 -07:00
Ylian Saint-Hilaire cefd6c98b3 More work on SMS integration, added Plivo support. 2020-04-22 15:29:26 -07:00
Ylian Saint-Hilaire c89f8fd524 Added email validation login page. 2020-04-21 01:50:27 -07:00
Ylian Saint-Hilaire 70e93f0c0f Email based 2FA almost completed. 2020-03-13 20:39:21 -07:00
Ylian Saint-Hilaire c40ba5d1f5 Improved 3FA LoginKey feature 2020-03-13 15:43:24 -07:00
Ryan Blenis 61cc4df370 Typo fix "interal" -> "internal" 2020-02-27 19:14:08 -05:00
Ryan Blenis 9028eca40a U2F fix in second place 2020-02-27 17:14:28 -05:00
Ryan Blenis 74956128b5 Allow TouchID 2020-02-25 16:59:40 -05:00
Ylian Saint-Hilaire 8149a73510 Lots of small fixed. 2020-01-29 14:38:41 -08:00
Ylian Saint-Hilaire 8fa296b4a0 Fixed Yubikey OTP login. 2020-01-12 13:57:13 -08:00
Ylian Saint-Hilaire 6607b04a9e Many small fixes. 2020-01-12 13:50:06 -08:00
Ylian Saint-Hilaire 3b9173b9d3 Added Linux --install/--uninstall/--start/--stop for quick Systemd install. 2020-01-09 16:35:48 -08:00
Ylian Saint-Hilaire da1a8951df Added titlehtml domain option. 2019-12-16 11:21:07 -08:00
Ylian Saint-Hilaire 4ca5be4b2e Improved Czech, Improved Let's Encrypt validation, added --dbstats and --showsmbios. 2019-12-08 20:46:25 -08:00
Ylian Saint-Hilaire 3670f229b9 Added remember for 30 days 2nd factor option. 2019-11-28 22:29:22 -08:00
Ylian Saint-Hilaire 8573d45753 Added bad login IP address limitation. 2019-11-18 17:31:42 -08:00
Ylian Saint-Hilaire bcef76863e Fixed internalization of server messages on the login screen. 2019-11-17 14:33:29 -08:00
Ylian Saint-Hilaire cdadf8595b Fixed minification bug in login page. 2019-10-24 23:58:39 -07:00
Ylian Saint-Hilaire 3f02c8251a Partial web page multi-language support done. 2019-10-17 17:13:55 -07:00