Make it possible to use multiple Office 365 connectors (3.x)

Created on 13 July 2022, almost 3 years ago
Updated 15 June 2023, almost 2 years ago

Problem/Motivation

Now it is not possible to use multiple connectors for Office 365, it is will be helpful for users from different organisations.

These changes are based on https://www.drupal.org/project/o365/issues/3240633 โ†’ , but tested with Drupal 9.x, additionally I have added a dependency to PHP 7.4 as a minimum viable version because it's a minimum supportable version of Drupal 9.3.x.

I kept all the existing features:

  • moving client, secret, and tenant IDs to the settings file
  • generation scopes via hooks
  • etc..

What comes via this ticket/PR?

  • Multiple SSO connectors
  • A new config entity (o365_connector)
  • Some things were moved to the entity (scopes, redirect URL)
  • Code refactoring a bit

Proposed resolution

1. Create config entity type to make possible create multiple connectors.
2. Existing configurations set as "default" entity.

Data model changes

See implementation for 2.x -> https://www.drupal.org/project/o365/issues/3240633 โ†’

๐Ÿ“Œ Task
Status

Needs work

Version

3.0

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ฆUkraine rolki

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024