Replace pwbi_auth

Created on 14 July 2023, 12 months ago
Updated 12 April 2024, 3 months ago

Motivation

The module pwbi_authentication implements the service principal authentication against PowerBi. This is a common oauth authentication that could be replaced with a Oauth2Client plugin implemented using this module https://www.drupal.org/project/oauth2_client β†’

Both, the current implementation and https://www.drupal.org/project/oauth2_client β†’ use the same oauth2 library, so it would require minimal changes on pwbi_api implementation https://github.com/thephpleague/oauth2-client

Proposed resolution

  1. Create a plugin using https://www.drupal.org/project/oauth2_client β†’ to manage the authentication. This plugin could be contributed separately to Drupal or as part of a collection, the same way it is done in https://github.com/thephpleague/oauth2-client
    (check https://oauth2-client.thephpleague.com/providers/league/)
  2. Update Drupal\pwbi_api\Api\PowerBiClient::connect() to use the new authentication plugin
πŸ“Œ Task
Status

Fixed

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain enriquelacoma Zaragoza

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024