Skip to content

Commit

Permalink
Update components/org.wso2.carbon.identity.application.authenticator.…
Browse files Browse the repository at this point in the history
…oidc/src/main/java/org/wso2/carbon/identity/application/authenticator/oidc/OpenIDConnectAuthenticator.java

Co-authored-by: Janak Amarasena <[email protected]>
  • Loading branch information
ImalshaG and janakamarasena committed May 6, 2024
1 parent aaf534d commit b0890c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ protected String getCallbackUrl(Map<String, String> authenticatorProperties) {
protected String getCallbackUrl(Map<String, String> authenticatorProperties, AuthenticationContext context) {

if (Boolean.parseBoolean((String) context.getProperty(IS_API_BASED))) {
return (String) context.getProperty(REDIRECT_URL);
return resolveCallBackURLForAPIBasedAuthFlow(context)
}
String callbackUrl = authenticatorProperties.get(IdentityApplicationConstants.OAuth2.CALLBACK_URL);
if (StringUtils.isBlank(callbackUrl)) {
Expand Down

0 comments on commit b0890c7

Please sign in to comment.