Add ability to logout from OIDC (#6539)

* Add OIDC_LOGOUT_URI functionality

* Add logout redirect to work on logout route

* Fix lint

* Fix lint

* Fix lint

* Fix lint

* Return null if logout endpoint used

* Update import
This commit is contained in:
Shuttleu
2024-02-16 16:35:38 +00:00
committed by GitHub
parent 2c9b01391f
commit bc84714670
7 changed files with 29 additions and 1 deletions

View File

@@ -33,6 +33,7 @@ export default function present(
process.env.SOURCE_COMMIT || process.env.SOURCE_VERSION || undefined,
APP_NAME: env.APP_NAME,
ROOT_SHARE_ID: options.rootShareId || undefined,
OIDC_LOGOUT_URI: env.OIDC_LOGOUT_URI || undefined,
analytics: {
service: options.analytics?.service,