Skip to Content
avatar image
Former Member


Hi ,

I have deployed my application under cloud HTML5 applications.

We use single sign on process for login.

Am able to run my deployed applicaiton sucessfully, but when I implmenet logout funcitonality, am unable to achieve it.

I am following the below steps to implement logut functionality:

Added below code in neoapp.json file:

"logoutPage": "/logout.html",

"authenticationMethod": "saml",

"routes": [

{ "path": "/services/userapi",

"target": {

"type": "service",

"name": "userapi"




I created a logout.index HTML file as well and added below code:



<body role="application">

You have been logged out!



and On logout click, below code is written:


"type" : 'GET',

"url": "/services/userapi/logout",

"success": function() { window.location.replace("applicaotn url"); }


While testing the logout funcitonality, below logout service url is throwing 302 and 503

Any One please help me on fixing the above error, whether am i missing any of the configurations steps

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Feb 07, 2018 at 07:16 PM

    Hi Mahesh,

    Please read the note at the bottom of this blog.

    The logoff functionality will only work while the application is running under the context of SCP.
    Your screen shows that your application is runnning in "test mode", thus the context is Web IDE and not your app.


    Add comment
    10|10000 characters needed characters exceeded