1.0.1 • Published 1 year ago

@rahul4737377373/uxauth v1.0.1

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

Uxauth

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 "uxauth";
const accessToken = await performAuth();

CLIENT_ID = "your client_id"

CLIENT_SECRET = "your client_secret"

REDIRECT_URI = http://localhost:3000/redirect

Refer to Upstox documentation for the same.

1.0.1

1 year ago

1.0.0

1 year ago