Commit Graph

39 Commits

Author SHA1 Message Date
trmdi 63930c4b33
Use built-in login validation (#6434)
* Use built-in login validation

* use button instead of submit to avoid duplicate submits

---------

Co-authored-by: Simon Smith <simonsmith5521@gmail.com>
2024-10-19 16:47:33 +01:00
si458 ec7505987d fix login button disabled when autofilled #6428
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-10-05 16:59:55 +01:00
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
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 e4001e67ef
add language selector to login (#5648)
* add language selector to login

* add showLanguageSelect to pick top or bottom boxe
2024-01-04 02:17:27 +00: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 23e197dcc9 Fixed 2FA messaging on login screen. 2022-10-25 14:17:54 -07: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 71b3dacbde Fix for token enter key on login screen, #3760 2022-03-14 17:36:19 -07:00
Ylian Saint-Hilaire 6aadba2b4e Fixed login page button exception, #3753 2022-03-11 08:15:36 -08:00
Ylian Saint-Hilaire 4a4eacf025 Fix for Chrome double submit issue, #3738 2022-03-05 12:26:57 -08:00
Ylian Saint-Hilaire ccd04ed573 Improved 404 pages to support tight Content-Security-Policy HTTP headers. 2022-01-10 01:26:45 -08: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 c352513746 Added full screen image support on login screen, #2609. 2021-05-10 12:47:44 -07:00
Ylian Saint-Hilaire 3d84509d33 Updated MeshCentral Router. 2021-05-10 12:19:53 -07:00
Ylian Saint-Hilaire 8685817bb3 Version 0.8.11 2021-04-14 14:54:07 -07:00
Ylian Saint-Hilaire 48d5abca40 More work on device 2FA. 2021-04-14 13:28:51 -07:00
Ylian Saint-Hilaire c74a207606 More work on mobile 2FA. 2021-04-13 23:23:09 -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 2fa0ee43b6 Improved login screen background image. 2020-11-28 14:53:30 -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 57fdf7ab9f Version 0.6.53 2020-09-29 16:46:38 -07:00
Ylian Saint-Hilaire fe0649a2ec Fixed email and SMS 2FA on style 2 login page. 2020-09-29 16:28:22 -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 a3db0985ba Fixed new login page with userNameIsEmail 2020-09-11 03:10:55 -07:00
Ylian Saint-Hilaire 8726254e36 Fixed spelling errors and missing &reg; 2020-09-08 13:33:52 -07:00
Ylian Saint-Hilaire b3fc8ad4a1 New agents on all platforms. 2020-09-03 16:17:14 -07:00
Ylian Saint-Hilaire 64efc47129 Improved login page customization, improved Chinese. 2020-09-03 02:19:17 -07:00
Ylian Saint-Hilaire 4f03629274 First version of alternate style login page. 2020-09-01 11:51:06 -07:00
Ylian Saint-Hilaire c30d06491b First draft of new login screen design. 2020-09-01 01:39:49 -07:00