MeshCentral/views
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
..
agentinvite.handlebars fix few more translations 2024-02-24 00:31:57 +00:00
default-mobile.handlebars add mac memory/storage (#5869) 2024-02-28 15:19:14 +00:00
default.handlebars fix Unzip translations 2024-03-02 15:33:18 +00:00
download2.handlebars Added BREACH attack mittigation, #4084 2022-06-08 10:47:23 -07:00
download.handlebars Added BREACH attack mittigation, #4084 2022-06-08 10:47:23 -07:00
error404-mobile.handlebars Version 0.9.67 2022-01-10 18:02:19 -08:00
error404.handlebars Added BREACH attack mittigation, #4084 2022-06-08 10:47:23 -07:00
error4042.handlebars Improved 404 pages to support tight Content-Security-Policy HTTP headers. 2022-01-10 01:26:45 -08:00
invite.handlebars Added BREACH attack mittigation, #4084 2022-06-08 10:47:23 -07:00
login2.handlebars Migrate to openid client (#5856) 2024-03-03 16:03:27 -08:00
login-mobile.handlebars Migrate to openid client (#5856) 2024-03-03 16:03:27 -08:00
login.handlebars Migrate to openid client (#5856) 2024-03-03 16:03:27 -08:00
message2.handlebars Added BREACH attack mittigation, #4084 2022-06-08 10:47:23 -07:00
message.handlebars Added BREACH attack mittigation, #4084 2022-06-08 10:47:23 -07:00
messenger.handlebars Added BREACH attack mittigation, #4084 2022-06-08 10:47:23 -07:00
mstsc.handlebars Added BREACH attack mittigation, #4084 2022-06-08 10:47:23 -07:00
player.handlebars fix player text align 2023-10-24 11:10:47 +01:00
sharing-mobile.handlebars fix mobile terminal not showing enter key for Android soft keyboard for sharing-moblile.handlebars (#5687) 2024-01-12 10:43:10 +00:00
sharing.handlebars Update sharing.handlebars 2023-04-12 15:46:27 +02:00
ssh.handlebars Fixed SSH with xterm.js (#4668) 2022-10-25 09:58:04 -07:00
terms-mobile.handlebars Agent core download and reverse proxy improvements. 2020-11-30 13:20:31 -08:00
terms.handlebars Added BREACH attack mittigation, #4084 2022-06-08 10:47:23 -07:00
xterm.handlebars fix writeUtf8 for ssh player 2023-09-20 19:40:58 +01:00