Files
gristlabs_grist-core/app/server/lib
Florent f8c6892643 OIDC allow to configure name and email attrs, and to skipp end session endpoint (#746)
* support GRIST_OIDC_SP_PROFILE_NAME_ATTR, defaulting to the concatenation of "given_name" + "family_name" or the "name" attribute.
* support GRIST_OIDC_SP_PROFILE_EMAIL_ATTR, defaulting to "email".
* support GRIST_OIDC_IDP_SKIP_END_SESSION_ENDPOINT: If set to "true", will not attempt to call the IdP's end_session_endpoint. Fail early if the endpoint does not exist, and this variable isn't set.

The last part is because some IdPs like Gitlab do not provide end_session_endpoint. In such cases, GRIST_OIDC_IDP_SKIP_END_SESSION_ENDPOINT=true should be set to have the Grist logout button only log out of Grist, and not out of the IdP.

---------

Co-authored-by: Florent FAYOLLE <florent.fayolle@beta.gouv.fr>
2023-11-21 15:20:40 -05:00
..
2023-11-01 10:49:33 -04:00
2023-08-21 09:15:53 -04:00
2023-11-16 12:38:08 -05:00
2023-11-16 12:38:08 -05:00
2023-01-26 09:47:14 +01:00
2022-02-19 09:46:49 +00:00
2022-02-19 09:46:49 +00:00
2023-10-11 17:36:58 -04:00
2022-06-17 21:53:20 +02:00
2023-09-27 14:49:23 +02:00
2023-02-20 22:46:36 -05:00
2023-11-19 20:12:37 -05:00
2022-07-04 10:42:40 -04:00
2023-04-03 13:29:35 -04:00
2022-07-04 10:42:40 -04:00
2023-05-23 15:50:15 -04:00
2022-04-01 15:24:19 -07:00
2023-07-30 15:13:43 -04:00
2023-10-11 17:36:58 -04:00
2023-11-19 20:12:37 -05:00
2020-07-21 20:39:10 -04:00
2023-11-16 12:38:08 -05:00
2022-08-25 12:38:36 -07:00