Skip to content

LG-10828 rate limit doc auth when credentials validation fails#9092

Merged
amirbey merged 11 commits intomainfrom
amirbey/LG-10828-rate-limit-doc-auth
Aug 28, 2023
Merged

LG-10828 rate limit doc auth when credentials validation fails#9092
amirbey merged 11 commits intomainfrom
amirbey/LG-10828-rate-limit-doc-auth

Conversation

@amirbey
Copy link
Contributor

@amirbey amirbey commented Aug 25, 2023

🎫 Ticket

LG-10828

🛠 Summary of changes

Reset doc_auth rate limiter after successful 3rd party doc auth verification and successful PIIDocForm validation.

###Why
Current implementation resets only after successfull 3rd party verification but should also include successful PIIDocForm validation.

📜 Testing Plan

@amirbey amirbey self-assigned this Aug 25, 2023
@amirbey amirbey changed the title Amirbey/lg 10828 rate limit doc auth LG-10828 rate limit doc auth when credentials fail Aug 25, 2023
@amirbey amirbey changed the title LG-10828 rate limit doc auth when credentials fail LG-10828 rate limit doc auth when credentials validation fails Aug 25, 2023
@amirbey amirbey marked this pull request as ready for review August 28, 2023 15:13
@amirbey amirbey requested a review from a team August 28, 2023 15:13
Copy link
Contributor

@soniaconnolly soniaconnolly left a comment

Choose a reason for hiding this comment

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

LGTM. Confirmed rate limiting behavior. Also when I submitted a good proofing.yml on the 5th attempt, it let me go forward.

@amirbey amirbey merged commit 94446fa into main Aug 28, 2023
@amirbey amirbey deleted the amirbey/LG-10828-rate-limit-doc-auth branch August 28, 2023 16:18
@mdiarra3 mdiarra3 mentioned this pull request Aug 29, 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