Skip to content

fix: Getting OS jwt from env#950

Merged
edwinjosechittilappilly merged 11 commits into
mainfrom
fix_orag_workable
Feb 13, 2026
Merged

fix: Getting OS jwt from env#950
edwinjosechittilappilly merged 11 commits into
mainfrom
fix_orag_workable

Conversation

@ajithreji

@ajithreji ajithreji commented Feb 11, 2026

Copy link
Copy Markdown
Collaborator

This pull request updates the create_jwt_token method in src/session_manager.py to allow using a JWT token from an environment variable if it is set. This provides flexibility for deployments where a pre-generated token is preferred over dynamically generating one.

Authentication and configuration improvements:

  • Modified the create_jwt_token method to first check for a JWT token in the OPENSEARCH_JWT_TOKEN environment variable, and only generate a new token if the environment variable is not set.

@edwinjosechittilappilly edwinjosechittilappilly changed the title Getting OS jwt from env fix: Getting OS jwt from env Feb 11, 2026
Comment thread src/services/search_service.py
Comment thread pyproject.toml Outdated

@lucaseduoli lucaseduoli left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@edwinjosechittilappilly edwinjosechittilappilly left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@edwinjosechittilappilly edwinjosechittilappilly merged commit afd91f9 into main Feb 13, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants