Will Safari store cookies when redirected multiple times?
We have a problem with logging in with Safari on a Microsoft service.
The basic use case is as follows:
- Successful login form posting at Site M (Microsoft)
- Site M redirect to itself (http 302) Set-Cookie: C1
- Site M redirects to Site A with token (http 302) Set-Cookie: C2 + C3
- Site A redirects to itself (http 302).
- Site A loads
The result in Chrome and Firefox is that the user has a token and has cookies C1, C2 and C3.
The result in Safari 10 & 9 is that the user receives no token and no cookies. It is hard to determine exactly what happens during the redirects because Safari clears the network log in the developer tool. All traffic is over HTTPS and Site A has a self-signed certificate, Site M a CA certificate.
Is this a known problem in Safari or should the scenario above work?
Thanks in advance!