-
Notifications
You must be signed in to change notification settings - Fork 58
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
Panic occurs when generating OAuth2 token with an invalid refresh token value #6724
Comments
gmail:Client
is initialized with an invalid refresh token
This issue is NOT closed with a proper Reason/ label. Make sure to add proper reason label before closing. Please add or leave a comment with the proper reason label now. |
Description:
When a
gmail:Client
is initialized with an invalid refresh token, a panic occurs instead of mapping the error value to the variable. That happens whenoauth2
module tries to generate a token using that invalid refresh token valueSteps to reproduce:
main.bal
file as below and run the projectThe text was updated successfully, but these errors were encountered: