REST Api call from call back function onLoginFailure.

This topic has 1 reply, 2 voices, and was last updated 5 years, 5 months ago by Peter Major.

  • Author
    Posts
  • #15917
     bikumar
    Participant

    Hi,

    As per the openAM developer guide

    OpenAM calls the onLoginSuccess() and onLoginFailure() methods immediately before informing the user of login success or failure, respectively. OpenAM calls the onLogout() method only when the user actively logs out, not when a user’s session times out.

    I need to know if it is possible to make a REST Api call from onLoginFailure funcion?

    Thanks,
    Sai.

    #15921
     Peter Major
    Moderator

    When you implement your PAP (Post Authentication Processing plugin) you can do in there whatever you’d like. you just have to keep in mind that PAPs are invoked synchronously so the longer it takes your PAP to execute, the longer the end-user will have to wait as well.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

©2022 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?