Socket
Book a DemoInstallSign in
Socket

atproto-oauth-js

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

atproto-oauth-js

OAuth client for Atproto which works across JS environments like Node.js, Deno and Cloudflare Workers.

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
0
Created
Source

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

FAQs

Package last updated on 25 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts