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

Add invalid attempts #43

Open
wants to merge 57 commits into
base: add_request_validators
Choose a base branch
from

Conversation

iamazzeez
Copy link
Collaborator

@iamazzeez iamazzeez commented Mar 30, 2022

https://chefio.atlassian.net/browse/KINETICS-66
https://chefio.atlassian.net/browse/KINETICS-67
https://chefio.atlassian.net/browse/KINETICS-68
https://chefio.atlassian.net/browse/KINETICS-79
https://chefio.atlassian.net/browse/KINETICS-73

Overview

What this PR does / why we need it

This PR creates blocked_user table in dex psql db
This is needed to accommodate failed login attempts with valid username

Special notes for your reviewer

Does this PR introduce a user-facing change?


Signed-off-by: Abdul-Az <[email protected]>
Signed-off-by: Abdul-Az <[email protected]>
Signed-off-by: Abdul-Az <[email protected]>
Signed-off-by: Abdul-Az <[email protected]>
Signed-off-by: Abdul-Az <[email protected]>
Signed-off-by: Abdul-Az <[email protected]>
Signed-off-by: Abdul-Az <[email protected]>
Signed-off-by: Abdul-Az <[email protected]>
@iamazzeez iamazzeez added the enhancement New feature or request label Mar 30, 2022
@iamazzeez iamazzeez requested review from kalroy and Dmaddu March 30, 2022 07:04
@iamazzeez iamazzeez self-assigned this Mar 30, 2022
Signed-off-by: Abdul-Az <[email protected]>
Signed-off-by: Abdul-Az <[email protected]>
Signed-off-by: Abdul-Az <[email protected]>
@Dmaddu Dmaddu marked this pull request as draft March 30, 2022 10:37
Copy link
Collaborator

@Dmaddu Dmaddu left a comment

Choose a reason for hiding this comment

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

please re-look into the code in terms of a maintenance perspective. Add more comments and use proper terminology to understand the code better.

@iamazzeez iamazzeez requested a review from Dmaddu April 11, 2022 10:25
@iamazzeez iamazzeez force-pushed the add_invalid_attempts branch from 6d784e6 to 5131d99 Compare April 12, 2022 08:37
@iamazzeez iamazzeez force-pushed the add_invalid_attempts branch from 5131d99 to b44b303 Compare April 12, 2022 08:39
Signed-off-by: Abdul-Az <[email protected]>
Signed-off-by: Abdul-Az <[email protected]>
Copy link
Collaborator

@kalroy kalroy left a comment

Choose a reason for hiding this comment

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

Check the scenario answered for the reset attempt

Signed-off-by: Abdul-Az <[email protected]>
Signed-off-by: Abdul-Az <[email protected]>
@iamazzeez iamazzeez requested a review from Dmaddu April 14, 2022 10:18
iamazzeez and others added 12 commits April 25, 2022 14:41
Signed-off-by: Abdul-Az <[email protected]>
Signed-off-by: Abdul-Az <[email protected]>
Fixed errors occurred while testing
Signed-off-by: Abdul-Az <[email protected]>
Signed-off-by: Abdul-Az <[email protected]>
* Testing Refresh API

Signed-off-by: SanjuPal01 <[email protected]>

* Change 2

* Handler

* Last Used

* test

* Time Difference

* Check

* Token Validator

Signed-off-by: SanjuPal01 <[email protected]>

* Checking

* Check

* Test

* Test

* Check

* Check

* Check

* Check

* Check

* Check

* Check

* Check

* Check

* Check

* Check

* Removing Redundant Code

Signed-off-by: SanjuPal01 <[email protected]>

* Token Validator

Signed-off-by: SanjuPal01 <[email protected]>

* Removing Redundant Code

Signed-off-by: SanjuPal01 <[email protected]>

* Code Updated

Signed-off-by: SanjuPal01 <[email protected]>

* Fixed validator

Signed-off-by: SanjuPal01 <[email protected]>

* naming convention

Signed-off-by: SanjuPal01 <[email protected]>
@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 22 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Signed-off-by: Abdul-Az <[email protected]>
@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 22 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants