Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-9899

openam to return 403 instead of 302 for ajax calls after timeout

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Expired
    • Affects Version/s: 12.0.3
    • Fix Version/s: None
    • Component/s: authentication
    • Labels:

      Description

      We are using OPENAM to protect rich we applications. The application is making a lot of AJAX calls to upadte the UI. However after a ertain time when the openam session cookie has expired, the AJAX calls returns a 302 redirecting it to a login page.

      This is annoying behaviour for us as the AJAX client expects 401 to know it needs to redirect the user to login page.

      Is it possible in openam to distinguish ajax calls and subsequently not send redirects ?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gururra-olaf Rajeev Guru [X] (Inactive)
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: