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

OKTA-855031: Disable caching of responses for UserFactorApi::getFactorTransactionStatus #1598

Conversation

arvindkrishnakumar-okta
Copy link
Contributor

@arvindkrishnakumar-okta arvindkrishnakumar-okta commented Feb 7, 2025

Issue(s)

OKTA-855031

Description

Caching of HTTP GET responses from UserFactorApi::getTransactionStatus will mean incorrect user factor transaction status will be served (from cache), when a caller invokes this API. We need to get the latest/updated status by calling the backend and NOT serve a cached response in this case. Therefore, we will prevent the response from being cached in first place and make sure the backend is called for latest status.

Category

  • Bugfix
  • Enhancement
  • New Feature
  • Library Upgrade
  • Configuration Change
  • Versioning Change
  • Unit or Integration Test(s)
  • Documentation

Signoff

  • I have submitted a CLA for this PR
  • Each commit message explains what the commit does
  • I have updated documentation to explain what my PR does
  • My code is covered by tests if required
  • I did not edit any automatically generated files

@arvindkrishnakumar-okta arvindkrishnakumar-okta changed the title OKTA-855031: Disable caching responses on UserFactorApi::getFactorTransactionStatus OKTA-855031: Disable caching of responses for UserFactorApi::getFactorTransactionStatus Feb 7, 2025
Copy link

@prachi-okta prachi-okta left a comment

Choose a reason for hiding this comment

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

lgtm

@arvindkrishnakumar-okta arvindkrishnakumar-okta merged commit da636fc into master Feb 7, 2025
7 checks passed
@arvindkrishnakumar-okta arvindkrishnakumar-okta deleted the ak_fix_OKTA_855031_disable_caching_for_get_factor_transaction_status branch February 7, 2025 14:44
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