-
Notifications
You must be signed in to change notification settings - Fork 6
feat: add redis database to store the jwt tokens #42
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
Open
osm-Jatin
wants to merge
32
commits into
main
Choose a base branch
from
feat/redis
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 30 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
32ae795
refactor: convert to file-scoped namespaces
osm-Jatin 71073b1
chore: apply dotnet format changes
osm-Jatin 9d714d6
refactor: renamed project from DocumentService to OsmoDoc and updated…
osm-Jatin 513819c
refactor: update Dockerfile and docker-compose for OsmoDoc rename
osm-Jatin 570d94f
refactor: update docs directory for OsmoDoc rename
osm-Jatin 9750310
docs: update GitHub documentation files after OsmoDoc rename
osm-Jatin c0faf50
fix: correct placeholder replacement to avoid extra curly braces in o…
osm-Jatin 78f5ab2
chore: enable nullable reference types in project
osm-Jatin e9e470f
refactor: streamline PdfDocumentGenerator for cross-platform and NuGe…
osm-Jatin 5358449
feat: configure OsmoDocPdfConfig.WkhtmltopdfPath from app settings
osm-Jatin 7b4db39
feat: add process exit-code check and quote windows tool path to surv…
Jatin-1602 9bb0fbf
fix: initialize Placeholders list
Jatin-1602 9d1e0c1
fix: initialise WordDocumentDataRequestDTO non-nullable list properties
Jatin-1602 54cb335
chore: add project metadata to OsmoDoc.csproj file
osm-Jatin ce7c55e
feat: make PdfDocumentGenerator class methods asynchronous
osm-Jatin 4ab72ad
feat: add await operator for GeneratePdf function call
osm-Jatin 295d985
feat: make GenerateDocumentByTemplate class methods asynchronous
osm-Jatin 548252e
refactor: remove using block in GetXWPFDocument function
osm-Jatin d189276
feat: add null checks for ejsData and function parameters
osm-Jatin 325426a
feat: avoid temporary path collisions under concurrent requests by ad…
osm-Jatin 4950f3e
refactor: initialize PDF tool path once at startup
osm-Jatin 3f78650
feat: handle row cell-count mismatch when populating tables
osm-Jatin 5f0e3bf
feat: avoid Task.Run for I/O operations and fix resource disposal
osm-Jatin 4036fb7
docs: update example env
osm-Jatin 1a4dcdd
feat: add login endpoint for generating jwt token
osm-Jatin a45e495
feat: add Redis service to docker-compose for token storage
osm-Jatin be6ff13
chore: add StackExchange.Redis package for Redis integration
osm-Jatin 76fcfbf
feat: implement RedisTokenService for JWT token storage and validation
osm-Jatin 1057e4d
feat: add endpoint for revoking token and update login endpoint to sa…
osm-Jatin 104a56a
feat: make header parsing case-insensitive
osm-Jatin 2994eeb
feat: add cancellation token for async operations and pass HttpContex…
osm-Jatin 67d9179
fix: the typo in _tokenStoreService
osm-Jatin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
JWT_KEY=xxx | ||
JWT_KEY=PLACEHOLDER_REPLACE_WITH_STRONG_KEY_MIN_32_CHARS_BEFORE_USE | ||
|
||
REDIS_URL=redis:6379 | ||
REDIS_PORT=6379 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.