Skip to content
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

CORS on https #28

Open
johnsonfamily1234 opened this issue Dec 26, 2020 · 2 comments
Open

CORS on https #28

johnsonfamily1234 opened this issue Dec 26, 2020 · 2 comments

Comments

@johnsonfamily1234
Copy link

Hello and thanks in advance for any information you might share.

I have a repo built around this which was working fine when going from http to http API Endpoint... but when deployed into https it's run into CORS issues. Have tried pretty much everything at this point. Figured I'd check in and see if anyone can sanity check the concept in general - is there any reason why this wouldn't work over https? Should I be thinking about this more as a "public key" search client?

I don't want to get too deep into sharing code yet as I'd have to redact but if anyone can sanity check me on whether it's an appropriate use of this for https, I'd appreciate it.

Thank you!

@Ebsan
Copy link

Ebsan commented Aug 12, 2021

Did you make any progress on this?

@Ebsan
Copy link

Ebsan commented Sep 28, 2021

I'm still working on this but wanted to post some findings. The CORS errors may be a red herring and the issue might actually have to do with your cert configurations and if your browser trusts the root certificate.

Try with different browsers, do you get the same error on each browser? Also, do you have the root certificate installed correctly (for Edge and Chrome it should be installed on your Windows Cert Store, and for Firefox you'll have to install it to the browser).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants