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

builder: set OAuth token creation time before we fetch it #101

Merged
merged 3 commits into from
Jun 29, 2022

Conversation

ondrejbudai
Copy link
Member

@ondrejbudai ondrejbudai commented Jun 29, 2022

Set token creation time here before we make the token request. If we set it after the request was fulfilled, it would be offset by the time it took the token to get from the server here, which can result into us refreshing the token late.

@ondrejbudai ondrejbudai changed the title OAuth token improvements builder: set OAuth token creation time before we fetch it Jun 29, 2022
@ondrejbudai ondrejbudai requested a review from gicmo June 29, 2022 09:28
@ondrejbudai ondrejbudai marked this pull request as ready for review June 29, 2022 09:28
gicmo
gicmo previously approved these changes Jun 29, 2022
Copy link
Contributor

@gicmo gicmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🕚

@ondrejbudai
Copy link
Member Author

Had to cherry-pick @jrusz pylint fixes from #100

Copy link
Contributor

@gicmo gicmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🕐 ✅

@gicmo gicmo enabled auto-merge (rebase) June 29, 2022 12:03
RHEL is now shipping podman 4 that encodes the networks differently, let's
implement a small dirty hack to fix it on RHEL before
osbuild#100 can land and fix it properly.
Copy link
Contributor

@gicmo gicmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🕐 🌵 🚢

@gicmo gicmo merged commit 3930f27 into osbuild:main Jun 29, 2022
@ondrejbudai ondrejbudai deleted the oauth branch June 29, 2022 14:01
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.

3 participants