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

Enrollment fails on Safari browser #32

Open
rentallect opened this issue Nov 22, 2020 · 0 comments
Open

Enrollment fails on Safari browser #32

rentallect opened this issue Nov 22, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@rentallect
Copy link
Member

ziti-sdk-js uses the browser/web API Blob.text() in its rest-client impl used to do REST calls to the Controller. e.g. to call the /.well-known/est/cacerts endpoint during enrollment operations.

The text() method in the Blob interface returns a Promise that resolves with a string containing the contents of the blob, interpreted as UTF-8.

The problem is... Safari doesn't support Blob.text() 👎
(as shown here: https://developer.mozilla.org/en-US/docs/Web/API/Blob/text)

I need to refactor this area with an eye towards using web APIs supported by all of the big three browsers.

@rentallect rentallect added the bug Something isn't working label Nov 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant