cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
798
Views
0
Helpful
4
Replies

AXL Authentication Cookies

Gordon Ross
Level 9
Level 9

The docs say that you can use the JSESSIONID cookie to re-use an authentication session. Yet in testing on CUCM 11.5, I find that this doesn't work. Instead, you have to use the new(er) JSESSIONIDSSO cookie.

If you send just the SSO cookie, things work. Send only a (valid) JSESSIONID cookie, and you get a wonderful 401 error.

Have the docs not been updated, or is this a bug?

GTG

Please rate all helpful posts.
4 Replies 4

dstaudt
Cisco Employee
Cisco Employee

Thanks for catching this, we'll take and look at get this updated...

James Adam
Level 1
Level 1

How are you able to validate that this is working? I have tried sending the JSESSIONID and/or the JSESSIONIDSSO cookie with a subsequent request and each time I get back a new set of cookies with my response. If I drop the auth header and send a request with cookies from a previous valid request I get a 401 error. (using CUCM 11.5)

Note, the JSESSIONIDSSO cookie will expire after about 30 minutes.

What you describe should work:

- Make a standard request with 'Authorization' header

- Extract the 'Set-Cookie' response header for JSESSIONIDSSO

- On subsequent requests, do not include Authorization, but do include a 'Cookie' header containing the content the full JSESSIONIDSSO:

Cookie: JSESSIONIDSSO=2723FD93559E7FA7E17F0E7958D13; Path=/; Secure; HttpOnly

Hey thanks for the quick response. I realized that I was sending a Set-Cookie header with my subsequent requests instead of a Cookie header. Fixed that and it works as expected now.

+1 dstaudt

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: