Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hi, i'm making a auth extension and when the password is incorrect or the username doesn't exist, i call the function, setRequiresChallenge(true), on the authenticate function. but my issueAuthChallenge function is never called. Please help me, thank you.
@Override
public void issueAuthenticationChallenge(HttpServletRequest httpRequest, HttpServletResponse httpResponse) throws AuthenticatorException {
_securityLogger.info("Customized Authentication Called issueAuthenticationChallenge");
String urlString= "http://localhost/";
try{
httpResponse.sendRedirect(urlString);
}
catch(IOException e)
{
e.printStackTrace();
}
}
Hello xotzHelper,
I wanted to follow up on this thread as I noticed no one was able to address this directly yet. Were you able to determine why the issueAuthChallenge function is not being called?
Although I do not have any specific recommendations as I have not previously developed a Custom Authentication Extension from scratch I would like to suggest reviewing the Create An Authentication Extension Guide on the ThingWorx Developer Portal. This may contain additional information that will assist you on this project.
-Tyler
Hi! thank you for the response, i open a case with PTC to get a more personalized help from enginneers. when i get a response i inform in this thread and close this. @tmisner