Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

sessions not working with safari browser using ACE and redis (connect-redis)

Lutz Bliska February 24, 2017

We are still at the same project at described here: https://answers.atlassian.com/questions/50367209

As @James Hazelwood suggest us, we did setup the cache service redis (connect-redis).

Redis works fine with FF and Chrome Browser but it doesn't work with safari.

 

The problem is that the session vars are getting lost after the first route.

e.g.:

  1. request to the default endpoint (configured in the atlassian-connect.json) and the session looks like this:

    Session {
      cookie: 
       { path: '/',
         _expires: 2017-02-24T17:11:21.686Z,
         originalMaxAge: 1800000,
         httpOnly: true,
         secure: true },
      URL: 'https://test.net' }
  2. After posting a from to a other endpoint (/login) the session object looks like that:

    Session {
      cookie: 
       { path: '/',
         _expires: 2017-02-24T17:11:21.343Z,
         originalMaxAge: 1800000,
         httpOnly: true,
         secure: true } }

So the variable URL gets lost.

 

Any ideas why ?

Thank you for your support 

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Robert Massaioli _Atlassian_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 28, 2017

I believe that using Cookies inside iFrames for Safari is notoriously hard. This explains the issue briefly: https://github.com/vitr/safari-cookie-in-iframe

I would recommend storing your state with the page in another manner. Otherwise you should be able to find workarounds for this issue. Cheers.

TAGS
AUG Leaders

Atlassian Community Events