|
Description: |
When trying to retrieve the access token through the `OAuth2ClientScriptService` a new one is returned each time. This suggests that a new call to the OAuth2 provider is made with each request.
To reproduce the issue: # Configure a OAuth2 client in XWiki. # Authorize the client to the provider using `OAuth2ClientScriptService#authorize(cfgName, redirect)` # Call `OAuth2ClientScriptService#getAccessToken(cfgName)` twice
Excepted:
The same access token should be provided
Actual:
Two different access tokens are provided |
|