Hello,
I have the following packages used in my Symfony 7.4 application to use Azure ADB2C for authentication.
| Package |
Version |
| knpuniversity/oauth2-client-bundle |
v2.20.2 |
| thenetworg/oauth2-azure |
v2.2.3 |
Everything works fine with oauth-client version 2.7, however when I upgrade to v2.8 or above, I keep getting this exception: Required option not passed: "access_token"
The response at this line
|
$response = $this->getParsedResponse($request); |
does not contain the
access_token attribute hence I get this exception.
In the config file my scope is defined as
scopes: ['openid profile offline_access']
So no further change on the application, just composer require league/oauth2-client:2.8.0 and I get the error.
Do you have any advice what I should change?
Hello,
I have the following packages used in my Symfony 7.4 application to use Azure ADB2C for authentication.
Everything works fine with oauth-client version 2.7, however when I upgrade to v2.8 or above, I keep getting this exception:
Required option not passed: "access_token"The response at this line
oauth2-client/src/Provider/AbstractProvider.php
Line 646 in 7e9b373
access_tokenattribute hence I get this exception.In the config file my scope is defined as
scopes: ['openid profile offline_access']So no further change on the application, just
composer require league/oauth2-client:2.8.0and I get the error.Do you have any advice what I should change?