REST microservice for obtaining OAuth access tokens from Battle.net API, powered by NestJS and Fastify
-
Updated
Mar 15, 2023 - TypeScript
REST microservice for obtaining OAuth access tokens from Battle.net API, powered by NestJS and Fastify
In this article, you'll learn how to implement stateless authentication in Deno using JSON Web Tokens. As we all know, JSON Web Tokens can only be invalidated when they expire, so we'll include a persistent storage like Redis to serve as an extra layer of security.
Tokenaria is a NextJs application which uses NextAuth and useSession to autnenticate the user and refresh the tokens by connecting external apis in this project. The access token gets expire after 10 minutes.
Add a description, image, and links to the access-tokens topic page so that developers can more easily learn about it.
To associate your repository with the access-tokens topic, visit your repo's landing page and select "manage topics."