We plan to migrate our authentication method from jwt in localstorage to session cookies authentication, in the purpose of api subdomain authentication, instead of front end subdomain authentication.
(one api subdomain can have multiple front end subdomains) .
Api subdomain (owner) :
can have multiple front end subdomains (entity) :
Today, myClientFrontEndSubdomain1 does not share authentication with myClientFrontEndSubdomain2.
It’s what we want to do and I know we can do it with session cookies.
I have read lots of quirks about cookies not sent along http requests from capacitor.
My knownledge of capacitor is small, and my questions are :
Is there a way to send cookies along requests, working with our current codebase (axios requests)
Does it require a specific plugin
If a plugin is required, does it require specific ios capability(ies), like cookies consent (I believe no as authentication cookies does not require cookies consent in the scope of GDPR) ?
If not possible, what other options do we have ?