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

[RCF-69] Forgot Password functionality #418

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

SachinPremkumar
Copy link
Contributor

@SachinPremkumar SachinPremkumar commented Jul 26, 2024

Sachin S P added 3 commits July 18, 2024 17:14
@@ -43,6 +43,7 @@ ext {
serverHealthCheckPath = "\"/v1/syncdata/actuator/health\""
serverActuatorInfoPath = "\"/v1/syncdata/actuator/info\""
debugPassword = "\"APTyKejHxACQyKBSRciR\""
serverForgotPasswordURL = "\"iam.qa-platform1.mosip.net\""
Copy link
Collaborator

Choose a reason for hiding this comment

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

i think we get this value from server side config, we can check this once


@Override
public void forgotPasswordUrl(@NonNull AuthResponsePigeon.Result<String> result) {
String response = "https://"+ BuildConfig.FORGOT_PASSWORD_URL +"/auth/realms/master/protocol/openid-connect/auth?client_id=security-admin-console&redirect_uri=https%3A%2F%2F"+ BuildConfig.FORGOT_PASSWORD_URL +"%2Fauth%2Fadmin%2Fmaster%2Fconsole%2F&state=744b7212-725b-48cb-91a9-9b8e4c33a031&response_mode=fragment&response_type=code&scope=openid&nonce=08339536-3d88-4d24-a465-16e9d02e7dbe&code_challenge=OQREJKeFfdANcrZpB10WqFQe8Y2Br881eR628O1sJnU&code_challenge_method=S256";
Copy link
Collaborator

Choose a reason for hiding this comment

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

adding static client id and nonce, response code is not recommended

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