0.1.2 • Published 19 days ago

uxauth v0.1.2

Weekly downloads
-
License
AGPL-3.0
Repository
github
Last release
19 days ago

Upauth

Authentication management solution for Upstox's Uplink API.

You only have to implement it in your code, it takes care of caching and reusing the access token.

The token is persisted throughout in the .env till it expires.

Usage

import performAuth from "upauth";
const accessToken = await performAuth();

Install

npm i uxauth

CLIENT_ID = "your client_id"

CLIENT_SECRET = "your client_secret"

REDIRECT_URI = http://localhost:3000/redirect

Refer to Upstox documentation for the same.

License

AGPL-3.0 ©️ Zubin

0.1.2

19 days ago

0.1.1

20 days ago

0.1.0

20 days ago