AmrAbdeen
7/11/2015 - 4:00 AM

https://community.oracle.com/message/13189178#13189178 MahDM wrote: I am using custom authentication in Apex 5.0 application. Post login, i

https://community.oracle.com/message/13189178#13189178 MahDM wrote:

I am using custom authentication in Apex 5.0 application. Post login, if the password of the user is expired then I am able to move the user to self password change page. However, I wanted to logoff that user forcibly and so that user can login with his new password. I tried with owa_util.redirect_ur but no luck. Instead of OWA_UTIL.REDIRECT_URL, use the following API: APEX_AUTHENTICATION.LOGOUT Create a process after your self password change process:

BEGIN

  APEX_AUTHENTICATION.LOGOUT (
      P_SESSION_ID  => :APP_SESSION,
      P_APP_ID      => :APP_ID,
      P_WS_APP_ID  => NULL );

END;