Skip to content

Volo be validate token logic added#1

Open
ShyamSagothia wants to merge 5 commits intomasterfrom
volo-be-validate-token-logic-added
Open

Volo be validate token logic added#1
ShyamSagothia wants to merge 5 commits intomasterfrom
volo-be-validate-token-logic-added

Conversation

@ShyamSagothia
Copy link
Copy Markdown

No description provided.

"""
# Skip validation in test environments
if env == "test":
return True
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why are using this env bro. seems we can skip this function call itself na

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

removed

if x_feature:
headers["x_feature"] = x_feature

async with httpx.AsyncClient(base_url=volo_be_url, headers=headers) as http:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I feel it should change base url as well. based on the request u are getting

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

this we discussed, will pass this from FE

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.

2 participants