Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fetchTokenAsync does not set expiresIn as fetchToken does #13

Open
milosdimic opened this issue Dec 25, 2024 · 1 comment
Open

fetchTokenAsync does not set expiresIn as fetchToken does #13

milosdimic opened this issue Dec 25, 2024 · 1 comment

Comments

@milosdimic
Copy link

Hello,

I noticed that com.paypal.sdk.authentication.ClientCredentialsAuthManager#fetchTokenAsync(java.util.Map<java.lang.String,java.lang.Object>) is not alined with com.paypal.sdk.authentication.ClientCredentialsAuthManager#fetchToken(java.util.Map<java.lang.String,java.lang.Object>)

where in fetchToken set of expiresIn is set and later used to check if a token is expired or not, it stays always NULL thus the check **isTokenExpired** is always `false'.

image image
@LeonarthusMectus
Copy link

Hey @milosdimic

Thanks for the report! We're going to do a release soon that will include a fix for this issue. I'll comment here when that goes out to give you and anyone watching this issue a heads up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants