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

Fix refresh token logic #513

Merged
merged 1 commit into from
Sep 26, 2023
Merged

Fix refresh token logic #513

merged 1 commit into from
Sep 26, 2023

Conversation

alfespa17
Copy link
Member

@alfespa17 alfespa17 commented Sep 26, 2023

This will fix the refresh token logic when using a new bitbucket connection that is using the custom callback feature.

The logs will show something like this:

2023-09-26 20:00:00.035  INFO 1 --- [ryBean_Worker-8] o.t.api.plugin.scheduler.ScheduleVcs     : VCS found with custom callback
2023-09-26 20:00:00.036  INFO 1 --- [ryBean_Worker-8] o.terrakube.api.plugin.vcs.TokenService  : Renew Token before: 2023-09-26 21:00:00.83 88faf1f1-3c6f-42ad-8865-ed98919ba2d1
2023-09-26 20:00:00.036  INFO 1 --- [ryBean_Worker-8] o.t.a.p.v.p.b.BitbucketTokenService      : Getting Bitbucket refresh token 0 attempt

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@alfespa17 alfespa17 merged commit 890b90d into main Sep 26, 2023
@alfespa17 alfespa17 deleted the refresh-token branch September 26, 2023 17:30
@alfespa17 alfespa17 linked an issue Sep 26, 2023 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

Bitbucket Refresh Token Fails
1 participant