cloudflare / cloudflare/capnweb

improve Auth0 docs example

Open
#175 0 comments 0 reactions 0 assignees View on GitHub
documentation
Dominant language
TypeScript
Stars
4k
Forks
143
Avg merge
4d 6h
Merged PRs (30d)
7

Description

Auth0 has an example of using capnweb in their docs: https://auth0.com/docs/quickstart/spa/capn-web.

The example does not follow the Cap'n Web auth pattern, but instead passes the auth token to every method, re-checking every time.

Also, it looks like they support only websocket in this example, not the HTTP batch protocol.

We should improve this example and send it on up to them (I'm sure they'd be happy for it to be better if possible).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.