When running a Web Agent, and when the browser is requested to go to the Forgotten Password link, the browser goes to the login page first instead of going to the forgotten password.
The browser is sent to:
GET https://host.example.com/app/index.jsp?task.tag=forgottenpassword
Date: Fri, 06 Oct 2023 09:45:04 GMT
Location: https://host.example.com/auth/login.fcc? [...omitted for brevity...] &TARGET=-SM-HTTPS%3A%2F%2Fhost.example.com%2Fapp%2Findex.jsp%3Ftask.tag%3Dforgottenpassword
The requested resource is protected:
webagent.log:
[10/17/2023][16:24:37][113582][721377024][CSmHttpPlugin.cpp:657][CSmHttpPlugin::ProcessResource][][*10.0.0.1][][][][][Resolved URL: '/app/index.jsp?task.tag=forgottenpassword'.]
[10/17/2023][16:24:37][113582][721377024][CSmLowLevelAgent.cpp:503][IsResourceProtected][][*10.0.0.1][][][/app/index.jsp?task.tag=forgottenpassword][][Resource is protected from Policy Server.]
[10/17/2023][16:24:37][113582][721377024][CSmHttpCredCore.cpp:1971][CSmHttpCredCore::DoFormsChallenge][][*10.0.0.1][][][/app/index.jsp?task.tag=forgottenpassword][][Redirecting to credential collector 'https://host.example.com/auth/login.fcc? [...omitted for brevity...] &TARGET=-SM-HTTPS%3A%2F%2Fhost.example.com%2Fapp%2Findex.jsp%3Ftask.tag%3Dforgottenpassword'.]
Unprotect the resource
/app/index.jsp?task.tag=forgottenpassword
to solve this issue.