HWIOAuthBundle icon indicating copy to clipboard operation
HWIOAuthBundle copied to clipboard

Add handling for an expired token on Bitbucket while fetching user information

Open wissem opened this issue 4 years ago • 0 comments

In case there is an empty email with Bitbucket and there is an attempt to fetch the linked emails. There is a second request to emails_url that could fail in case the token is expired. This results into an undefined index warning while accessing values and the user information missing the email.

I've added a refresh for the token and attempting to fetch emails again.

wissem avatar Sep 16 '21 13:09 wissem