Skip to content

Commit ac248ee

Browse files
authored
Merge pull request #2222 from DMHP/new
Modify the code to pass for the magic link authentication
2 parents 83dc470 + 4b9c99e commit ac248ee

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

components/org.wso2.carbon.identity.oauth.endpoint/src/main/java/org/wso2/carbon/identity/oauth/endpoint/authz/OAuth2AuthzEndpoint.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1369,7 +1369,7 @@ private Response handleInitialAuthorizationRequest(OAuthMessage oAuthMessage) th
13691369
String type = getRequestProtocolType(oAuthMessage);
13701370

13711371
if (AuthenticatorFlowStatus.SUCCESS_COMPLETED == oAuthMessage.getFlowStatus()) {
1372-
return handleAuthFlowThroughFramework(oAuthMessage, type);
1372+
return handleAuthFlowThroughFramework(oAuthMessage, type, redirectURL);
13731373
} else {
13741374
return Response.status(HttpServletResponse.SC_FOUND).location(new URI(redirectURL)).build();
13751375
}
@@ -3752,8 +3752,8 @@ private void invokeCommonauthFlow(OAuthMessage oAuthMessage, CommonAuthResponseW
37523752
* @throws InvalidRequestParentException
37533753
* @Param type OAuthMessage
37543754
*/
3755-
private Response handleAuthFlowThroughFramework(OAuthMessage oAuthMessage, String type) throws URISyntaxException,
3756-
InvalidRequestParentException {
3755+
private Response handleAuthFlowThroughFramework(OAuthMessage oAuthMessage, String type, String redirectUrl)
3756+
throws URISyntaxException, InvalidRequestParentException {
37573757

37583758
if (LoggerUtils.isDiagnosticLogsEnabled()) {
37593759
DiagnosticLog.DiagnosticLogBuilder diagnosticLogBuilder = new DiagnosticLog.DiagnosticLogBuilder(

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@
878878
<carbon.kernel.registry.imp.pkg.version.range>[1.0.1, 2.0.0)</carbon.kernel.registry.imp.pkg.version.range>
879879

880880
<!-- Carbon Identity Framework version -->
881-
<carbon.identity.framework.version>5.25.436</carbon.identity.framework.version>
881+
<carbon.identity.framework.version>5.25.459</carbon.identity.framework.version>
882882
<carbon.identity.framework.imp.pkg.version.range>[5.25.234, 7.0.0)
883883
</carbon.identity.framework.imp.pkg.version.range>
884884

0 commit comments

Comments
 (0)