[OPENAM-9899] openam to return 403 instead of 302 for ajax calls after timeout Created: 24/Oct/16  Updated: 12/Dec/18  Resolved: 12/Dec/18

Status: Closed
Project: OpenAM
Component/s: authentication
Affects Version/s: 12.0.3
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Rajeev Guru [X] (Inactive) Assignee: Unassigned
Resolution: Expired Votes: 1
Labels: Customer
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Rank: 1|hzse33:


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 ?

Comment by Phill Cunnington [ 12/Dec/18 ]

Expired as affecting versions that have reached their EOSL. Please re-open if still an issue and can be reproduced on a supported version.

Generated at Thu Feb 25 16:30:54 UTC 2021 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.