0.0.2 • Published 6 months ago

atproto-oauth-js v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

ATProto OAuth JS

This is a library for handling ATProto OAuth flows, particularly targeting Cloudflare Workers and similar non node.js environments. If you're using node.js, you should use the @atproto/oauth-client-node library instead.

It's a work in progress and may not work as expected. It hasn't been tested in production yet. It's likely to change. And likely not a secure implementation, which will blow up in your face if you dare to use it in production without a thorough audit. But you're welcome to try it out, let me know if it works for you and help me improve it.

Usage

npm install atproto-oauth-js

Credits

This was mainly extracted from the frontpage.fyi codebase.

Fruther inspiration can be found in https://github.com/pilcrowonpaper/atproto-oauth-example/

Examples

0.0.2

6 months ago

0.0.1

6 months ago