-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XHR request from capacitor doesn't sent Cookies #3757
Comments
Have the same issue and used solution from this conversation But it did not really help as we need to use services like stripe which don't allow to make requests from HTTP but they worked well for localhost Probably it can work if you downgrade xcode to 11 version and capacitor to version 2.1 |
This issue needs more information before it can be addressed. In particular, the reporter needs to provide a minimal sample app that demonstrates the issue. If no sample app is provided within 15 days, the issue will be closed. |
It looks like this issue didn't get the information it needed, so I'll close it for now. If I made a mistake, sorry! I am just a bot. Have a great day! |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out. |
Bug Report
My application communicate with external API endpoint on server. At the first request the server create a cookie
refreshToken
and returnsauthToken
. Every request contains bearerauthToken
and it's work good.Every minute is necessary to refresh
refreshToken
.Application make a request for refresh. (On the server compare sent
authToken
with the cookie to regenerate). In this endpoint it's a problem because the request doesn't contain cookies.Capacitor Version
@capacitor/core 2.4.1
@capacitor/cli 2.4.1
@capacitor/android 2.4.1
@capacitor/ios 2.4.1
@capacitor/electron not installed
Current Behavior
The requests doesn't contains cookies
Devices
Expected Behavior
Every request on same domain will contains existing cookies.
Other Technical Details
npm --version
output: 6.14.8node --version
output: v12.19.0The text was updated successfully, but these errors were encountered: