diff --git a/composer.json b/composer.json index a39bc65324..ddb1f2a617 100644 --- a/composer.json +++ b/composer.json @@ -149,6 +149,7 @@ "drupal/openapi_jsonapi": "^3.0", "drupal/openapi_ui": "^1.0@RC", "drupal/openapi_ui_swagger": "^1.0", + "drupal/openid_connect": "^1.4", "drupal/override_node_options": "^2.4", "drupal/paragraphs": "^1.5", "drupal/paragraphs_browser": "^1.1", diff --git a/composer.lock b/composer.lock index 127c409852..a863f6a498 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "46b8bd53fe5d8c2e978d0d1d2187ed29", + "content-hash": "95f644fa78a487f97eeff754c5e96f16", "packages": [ { "name": "asm89/stack-cors", @@ -11381,6 +11381,75 @@ "issues": "http://drupal.org/project/issues/openapi_ui_swagger" } }, + { + "name": "drupal/openid_connect", + "version": "1.4.0", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/openid_connect.git", + "reference": "8.x-1.4" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/openid_connect-8.x-1.4.zip", + "reference": "8.x-1.4", + "shasum": "9bdbfa6365d10b2029bdaee9fbd82265aa6d4fa4" + }, + "require": { + "drupal/core": "^9.5 || ^10", + "ext-json": "*" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "8.x-1.4", + "datestamp": "1698170385", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "bojanz", + "homepage": "https://www.drupal.org/user/86106" + }, + { + "name": "jcnventura", + "homepage": "https://www.drupal.org/user/122464" + }, + { + "name": "mstrelan", + "homepage": "https://www.drupal.org/user/314289" + }, + { + "name": "pfrilling", + "homepage": "https://www.drupal.org/user/169695" + }, + { + "name": "pjcdawkins", + "homepage": "https://www.drupal.org/user/1025236" + }, + { + "name": "sanduhrs", + "homepage": "https://www.drupal.org/user/28074" + } + ], + "description": "A pluggable client implementation for the OpenID Connect protocol.", + "homepage": "https://www.drupal.org/project/openid_connect", + "keywords": [ + "Drupal" + ], + "support": { + "source": "https://git.drupalcode.org/project/openid_connect", + "issues": "https://www.drupal.org/project/issues/openid_connect" + } + }, { "name": "drupal/override_node_options", "version": "2.9.0", diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index abaf359da4..16473eeebe 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -190,6 +190,7 @@ module: openapi_jsonapi: 0 openapi_ui: 0 openapi_ui_swagger: 0 + openid_connect: 0 options: 0 override_node_options: 0 page_cache: 0 diff --git a/config/sync/openid_connect.settings.facebook.yml b/config/sync/openid_connect.settings.facebook.yml new file mode 100644 index 0000000000..e8eb5f8543 --- /dev/null +++ b/config/sync/openid_connect.settings.facebook.yml @@ -0,0 +1,7 @@ +_core: + default_config_hash: XE2MqevnEK7g2Hi3bBsxJUUcbYQBm9AjQR6foDyycRY +enabled: false +settings: + client_id: null + client_secret: null + api_version: null diff --git a/config/sync/openid_connect.settings.generic.yml b/config/sync/openid_connect.settings.generic.yml new file mode 100644 index 0000000000..de35701103 --- /dev/null +++ b/config/sync/openid_connect.settings.generic.yml @@ -0,0 +1,9 @@ +_core: + default_config_hash: FJ7FfwlYzcbFfG0AqVPlqsLJIRhkzS1Rv6eO1vssSkM +enabled: false +settings: + client_id: null + client_secret: null + authorization_endpoint: 'https://example.com/oauth2/authorize' + token_endpoint: 'https://example.com/oauth2/token' + userinfo_endpoint: 'https://example.com/oauth2/UserInfo' diff --git a/config/sync/openid_connect.settings.github.yml b/config/sync/openid_connect.settings.github.yml new file mode 100644 index 0000000000..3125f8f101 --- /dev/null +++ b/config/sync/openid_connect.settings.github.yml @@ -0,0 +1,6 @@ +_core: + default_config_hash: h0ctmI-lSknN6e9qvO8PKjAPEeopeDR4FnxTYhGcD1k +enabled: false +settings: + client_id: null + client_secret: null diff --git a/config/sync/openid_connect.settings.google.yml b/config/sync/openid_connect.settings.google.yml new file mode 100644 index 0000000000..3125f8f101 --- /dev/null +++ b/config/sync/openid_connect.settings.google.yml @@ -0,0 +1,6 @@ +_core: + default_config_hash: h0ctmI-lSknN6e9qvO8PKjAPEeopeDR4FnxTYhGcD1k +enabled: false +settings: + client_id: null + client_secret: null diff --git a/config/sync/openid_connect.settings.linkedin.yml b/config/sync/openid_connect.settings.linkedin.yml new file mode 100644 index 0000000000..3125f8f101 --- /dev/null +++ b/config/sync/openid_connect.settings.linkedin.yml @@ -0,0 +1,6 @@ +_core: + default_config_hash: h0ctmI-lSknN6e9qvO8PKjAPEeopeDR4FnxTYhGcD1k +enabled: false +settings: + client_id: null + client_secret: null diff --git a/config/sync/openid_connect.settings.okta.yml b/config/sync/openid_connect.settings.okta.yml new file mode 100644 index 0000000000..a8d1c1d070 --- /dev/null +++ b/config/sync/openid_connect.settings.okta.yml @@ -0,0 +1,7 @@ +_core: + default_config_hash: 7F1ngE9fiONEo0Nk1cfez_GTGzhHBLuPaHlrDqYI_hg +enabled: false +settings: + client_id: null + client_secret: null + okta_domain: null diff --git a/config/sync/openid_connect.settings.yml b/config/sync/openid_connect.settings.yml new file mode 100644 index 0000000000..55d310a98d --- /dev/null +++ b/config/sync/openid_connect.settings.yml @@ -0,0 +1,8 @@ +_core: + default_config_hash: YpBA3MmDuJpZ9SM3DE4kR0lTY89bf2y3g0sS7s3TQ4k +always_save_userinfo: true +connect_existing_users: false +override_registration_settings: false +user_login_display: hidden +userinfo_mappings: + timezone: zoneinfo