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

Latest Ory Javascript SDK does not work with Cloudflare Workers #379

Open
5 tasks done
BrandonNoad opened this issue Mar 22, 2024 · 2 comments
Open
5 tasks done

Latest Ory Javascript SDK does not work with Cloudflare Workers #379

BrandonNoad opened this issue Mar 22, 2024 · 2 comments
Labels
feat New feature or request. stale Feedback from one or more authors is required to proceed.

Comments

@BrandonNoad
Copy link

BrandonNoad commented Mar 22, 2024

Preflight checklist

Ory Network Project

https://strange-joliot-n3x27vsd04.projects.oryapis.com

Describe your problem

Recent versions of @ory/client are using axios v1.x

ory/sdk#289 (comment)

As far as I’m aware, there isn’t a fetch adapter for axios v1.x, so we won’t be able to use the newer @ory/client versions with Cloudflare workers or other similar environments (https://www.ory.sh/use-ory-with-cloudflare-workers/).

Are there plans to have a fetch-based client? Or are there any other workarounds you know of?

Describe your ideal solution

The latest version of @ory/client works with Cloudflare Workers/Pages

Workarounds or alternatives

  • Keep using @ory/client < 1.5.2
  • Use the REST API directly
  • Try to build our own fetch-based SDK
  • @ory/client reverts to [email protected]

Version

Ory Network

Additional Context

axios v0.28.0 fixes a lot of security issues, which was the reason for the upgrade to v1.x

https://github.com/axios/axios/releases/tag/v0.28.0

@BrandonNoad BrandonNoad added the feat New feature or request. label Mar 22, 2024
@aeneasr
Copy link
Member

aeneasr commented Mar 24, 2024

👍 ory/sdk#341

Copy link

Hello contributors!

I am marking this issue as stale as it has not received any engagement from the community or maintainers for a year. That does not imply that the issue has no merit! If you feel strongly about this issue

  • open a PR referencing and resolving the issue;
  • leave a comment on it and discuss ideas on how you could contribute towards resolving it;
  • leave a comment and describe in detail why this issue is critical for your use case;
  • open a new issue with updated details and a plan for resolving the issue.

Throughout its lifetime, Ory has received over 10.000 issues and PRs. To sustain that growth, we need to prioritize and focus on issues that are important to the community. A good indication of importance, and thus priority, is activity on a topic.

Unfortunately, burnout has become a topic of concern amongst open-source projects.

It can lead to severe personal and health issues as well as opening catastrophic attack vectors.

The motivation for this automation is to help prioritize issues in the backlog and not ignore, reject, or belittle anyone.

If this issue was marked as stale erroneously you can exempt it by adding the backlog label, assigning someone, or setting a milestone for it.

Thank you for your understanding and to anyone who participated in the conversation! And as written above, please do participate in the conversation if this topic is important to you!

Thank you 🙏✌️

@github-actions github-actions bot added the stale Feedback from one or more authors is required to proceed. label Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request. stale Feedback from one or more authors is required to proceed.
Projects
None yet
Development

No branches or pull requests

2 participants