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

[uss_qualifier] Fix non-cached sub information #384

Merged
merged 2 commits into from
Dec 4, 2023

Conversation

BenjaminPelletier
Copy link
Member

@BenjaminPelletier BenjaminPelletier commented Dec 1, 2023

A recent IDGenerator change to more properly separate out obtaining of subscriber information into another resource introduced a bug because issue_token does not cache tokens whereas get_sub depends on cached tokens. This PR fixes that issue by triggering a token cache update with get_headers rather than issue_token. It also removes the special get_sub implementation for DummyOAuth because, while it is more efficient, it exercises less of the standard code paths.

This issue was raised by a user and the content in this PR was informally verified to fix the issue.

@BenjaminPelletier BenjaminPelletier marked this pull request as ready for review December 1, 2023 19:05
@BenjaminPelletier BenjaminPelletier merged commit eab87f3 into interuss:main Dec 4, 2023
9 checks passed
@BenjaminPelletier BenjaminPelletier deleted the fix-sub branch December 4, 2023 17:44
github-actions bot added a commit that referenced this pull request Dec 4, 2023
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.

2 participants