-
Notifications
You must be signed in to change notification settings - Fork 655
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
serve in HTTPS mode #2671
Comments
Hello! Thank you for opening an issue with us! Since this is not a feature request for the Ionic framework itself but is a feature request for the CLI, I am moving this issue over to ionic-team/ionic-cli. Thank you for using Ionic |
This is a very important feature! There's any prevision for this implementation? |
I just tried ionic serve --ssl, it doesn't work... |
@rizkyramadhan This is an old issue. Please follow this issue for HTTPS support for Ionic 4. |
From @Qvatra on August 18, 2017 12:26
Ionic version: (check one with "x")
[ ] 1.x (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[x] 3.x
I'm submitting a ... (check one with "x")
[ ] bug report
[x] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
not possible to serve locally in HTTPS mode. Its important because if remote host is SSL any secure cookies are lost when they come back to the non-SSL browser.
Expected behavior:
possibility to configure ionic to serve on HTTPS locally
Reproduction
What I'm trying to achieve in my app:
In reality the last request doesn’t have sessionId in requestHeader cookie and that's why I get 401 ‘Unauthorized’. When I look at responseHeader cookie of the first request I see the following: set-cookie:PHPSESSID=5583u6dcq803qlm5mnnc79vua4i0hs10htoj1mavskhv0bdg8m31; path=/; secure; HttpOnly
My idea is to make ionic somehow run locally in secure mode so that this secure cookie would be passed through.
Copied from original issue: ionic-team/ionic-framework#12699
The text was updated successfully, but these errors were encountered: