Skip to content
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

Cognito Authorizer passthrough to Authentication Middleware #1961

Open
2 tasks
devnull opened this issue Jan 30, 2025 · 1 comment
Open
2 tasks

Cognito Authorizer passthrough to Authentication Middleware #1961

devnull opened this issue Jan 30, 2025 · 1 comment
Labels
feature-request A feature should be added or improved. m Effort estimation: medium module/lambda-client-lib p2 This is a standard priority issue

Comments

@devnull
Copy link

devnull commented Jan 30, 2025

Describe the feature

It would be great to have some functionality to provide the JWT token that is evaluated on API Gateway by the Cognito UserPool authorizer, to be 'passed' through to the ASP.NET Authentication middleware.

Use Case

Currently, I can't test locally. I need to deploy to AWS and debug the context object by using console output and grepping logs for the context object and the details contained within, that is provided to the Lambda function by API Gateway.

I think this would be helpful for portability and testing. This would allow the application to continue using the [Authorize] attributes and minimise conditional checks whether its being tested locally or in the cloud.

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

AWS .NET SDK and/or Package version used

Latest published.

Targeted .NET Platform

.NET 8

Operating System and version

Ubuntu 24.04

@devnull devnull added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Jan 30, 2025
@ashishdhingra ashishdhingra added module/lambda-client-lib investigating This issue is being investigated and/or work is in progress to resolve the issue. p2 This is a standard priority issue and removed needs-triage This issue or PR still needs to be triaged. labels Jan 30, 2025
@ashishdhingra
Copy link
Contributor

@ashishdhingra ashishdhingra added m Effort estimation: medium and removed investigating This issue is being investigated and/or work is in progress to resolve the issue. labels Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved. m Effort estimation: medium module/lambda-client-lib p2 This is a standard priority issue
Projects
None yet
Development

No branches or pull requests

2 participants