Worked hours for Project. Here's what i made:-
Made function to generate and verify access token.
Function to verify and hash password. Implemented the PKCE so that server can verify. Worked on issuing a refresh token, rotating it.
Used SHA-256 algorithm to generate verifier.
I started working on this project where i will try to make OAuth2.
Tech Stack:-Docker, Redis, Node.js, Express, Typescript
I first made the yml file of docker to run the postgresql and redis, also made the schema for user, client and refresh tokens.