-
Notifications
You must be signed in to change notification settings - Fork 0
AR-469 Add Redis Client to Authentication Flow #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: feat/dummy-pr
Are you sure you want to change the base?
Conversation
add functions for inventory tasks
remove log
src/auth/redisClient.ts
Outdated
|
|
||
| const hash = (text: any) => | ||
| crypto.createHash("sha256").update(text).digest("hex"); | ||
| const defaultKeyWord = "12345"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's force the ENV to exist. We don't want to accidentally forget it and use 12345 as the key.
| hashedRefreshToken, | ||
| encryptedAccessToken, | ||
| "EX", | ||
| 2 * (HOUR_IN_SECONDS - 120) //set expiry to be after 1 hour 58 minutes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this ends up being 1 hour 56 minutes, which is fine, but might want to update it.
2 * (3600 - 120) = 7200 - 240 = 6960 => 116 minutes
patrickbrennan-ecomshft
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just have the removal of the default key
Add fuctions for inventory tasks
add option to get request headers
updated name of branch in github actions
…Ecomshft/ebay-api into feat/AddHeaderToGetOfferRequest * 'feat/AddHeaderToGetOfferRequest' of https://github.com/Ecomshft/ebay-api: Update npm-publish.yml
changed branch to default branch
…Ecomshft/ebay-api into feat/AddHeaderToGetOfferRequest * 'feat/AddHeaderToGetOfferRequest' of https://github.com/Ecomshft/ebay-api: Update npm-publish.yml # Conflicts: # .github/workflows/npm-publish.yml
Add header to get offer request
No description provided.