Skip to content

auth middleware for header authencation#5

Merged
Ifechukwu001 merged 4 commits into
Developer-s-Foundry:mainfrom
CaptainAril:feat/gatewayMiddleware
Apr 18, 2025
Merged

auth middleware for header authencation#5
Ifechukwu001 merged 4 commits into
Developer-s-Foundry:mainfrom
CaptainAril:feat/gatewayMiddleware

Conversation

@CaptainAril
Copy link
Copy Markdown
Contributor

Closes #2

Copy link
Copy Markdown
Contributor

@Ifechukwu001 Ifechukwu001 left a comment

Choose a reason for hiding this comment

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

So far, the flow looks okay. I believe it should work fine; just a few little changes here and there so it can pass Pyright.

As for the OpenAPI spec, I think there might be a cleaner way to do it. But if not, we can go with this.

Comment thread src/api/middlewares/GateWayMiddleware.py Outdated
Comment thread src/api/middlewares/GateWayMiddleware.py Outdated
Comment thread src/api/middlewares/GateWayMiddleware.py Outdated
Copy link
Copy Markdown
Contributor

@Ifechukwu001 Ifechukwu001 left a comment

Choose a reason for hiding this comment

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

This is a good job. I'll merge it now

Comment thread pyproject.toml
"pydantic[email]>=2.10.6",
"django-ninja>=1.3.0",
"pyjwt>=2.10.1",
"typing>=3.10.0.0",
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.

Is typing not a builtin package?

@Ifechukwu001 Ifechukwu001 merged commit fa362a9 into Developer-s-Foundry:main Apr 18, 2025
2 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.

Service Authentication

2 participants