Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Latest commit

 

History

History
24 lines (21 loc) · 1.15 KB

2021-02-03-bumped-oauth2-server-dependency-to-major-version-8.md

File metadata and controls

24 lines (21 loc) · 1.15 KB
title issue author author_email author_github
Bumped oauth2-server dependency to major version 8
NEXT-7873
Lennart Tinkloh
lernhart

Core

  • Added src/Core/Framework/Api/OAuth/ClientRepository::validateClient
  • Added src/Core/Framework/Api/OAuth/Client/ApiClient::isConfidential
  • Added src/Core/Checkout/Payment/Cart/Token/JWTConfigurationFactory, which creates an injectable JWT configuration object
  • Added parameter configuration to src/Core/Framework/Api/OAuth/BearerTokenValidator constructor.

Upgrade Information

The parameter signature of src/Core/Framework/Api/OAuth/ClientRepository::getClientEntity changed due to the major update of the oauth2-server dependency. OAuth2-Clients should be validated separately in the new validateClient method. See: thephpleague/oauth2-server#938

The parameter signature of src/Core/Checkout/Payment/Cart/Token/JWTFactoryV2 changed. It uses the injected configuration object rather than a private key.

The parameter signature of src/Core/Framework/Api/OAuth/BearerTokenValidator changed. The injected configuration object was added as parameter.