-
Notifications
You must be signed in to change notification settings - Fork 90
feat(jans-fido2) : added integration test cases for the device registration flow #11894
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
Conversation
Signed-off-by: imran <imranishaq7071@gmail.com>
Signed-off-by: Mustafa Baser <mbaser@mail.com>
Signed-off-by: imran <imranishaq7071@gmail.com>
Signed-off-by: imran <imranishaq7071@gmail.com>
Signed-off-by: Mustafa Baser <mbaser@mail.com>
Signed-off-by: Mustafa Baser <mbaser@mail.com>
Signed-off-by: Yuriy <Yuriy.Movchan@gmail.com>
Signed-off-by: imran <imranishaq7071@gmail.com>
Signed-off-by: imran <imranishaq7071@gmail.com>
Signed-off-by: imran <imranishaq7071@gmail.com>
Signed-off-by: imran <imranishaq7071@gmail.com>
Signed-off-by: Yuriy <Yuriy.Movchan@gmail.com>
Signed-off-by: Yuriy <Yuriy.Movchan@gmail.com>
Signed-off-by: Yuriy <Yuriy.Movchan@gmail.com>
Signed-off-by: imran <imranishaq7071@gmail.com>
…vice registration Signed-off-by: imran <imranishaq7071@gmail.com>
🎉 Snyk checks have passed. No issues have been found so far.✅ security/snyk check is complete. No issues have been found. (View Details) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if it is really necessary to remove those logging statements...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with @jgomer2001 We can keep log message and just specify right severity for them
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok I will add them
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't do code reformat. This makes review difficult
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with @jgomer2001 We can keep log message and just specify right severity for them
@@ -0,0 +1 @@ | |||
test.server.name=imran-ishaq-capable-cobra.gluu.info |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In default profile it's better to specify generic hostname
@@ -1,21 +1,3 @@ | |||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to put:
* Janssen Project software is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text.
*
* Copyright (c) 2020, Janssen Project
*/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is same question about log messages which @jgomer2001 raised in previous file
@@ -1,21 +1,3 @@ | |||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is same question about log messages which @jgomer2001 raised in previous file
} catch (Exception e) { | ||
log.error("Failed to get nextUpdateDate of the MDS from jansDocument ", e); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should log exceptions
fido2.client.id=FF81-2D39 | ||
fido2.client.secret=%(jans_fido2_client_4_pw)s | ||
|
||
uma.user.uid=test_user |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we using uma keys in properties?
ldap.admin.password=ldap_admin_test_password | ||
|
||
# Sector Identifiers (optional, for metadata or RP ID isolation testing) | ||
sector.identifier.id=a55ede29-8f5a-461d-b06e-76caee8d40b5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this needed for test?
…ns-fido2-test-server-2
Signed-off-by: imran <imranishaq7071@gmail.com>
|
|
|
Description
Added the Integration tests for the complete flow of device Registration
Target issue
Currently, the Jans FIDO2 module lacks comprehensive integration testing for device registration workflows. This creates uncertainty about the reliability of FIDO2 device registration functionality in production environment
closes #11893
Implementation Details
Created structured test data for the FIDO2 integration flow
Configured the server dynamically during the test build process
Implemented test cases covering basic to advanced scenarios
Test and Document the changes
Please check the below before submitting your PR. The PR will not be merged if there are no commits that start with
docs:
to indicate documentation changes or if the below checklist is not selected.