Skip to content

Conversation

@briskt
Copy link
Contributor

@briskt briskt commented Aug 28, 2023

CORS shouldn't be needed since the server is called directly by the ID Broker, not using XHR requests in a browser. If I am wrong and it is called in an XHR request, then the CORS Access-Control-Allow-Origin should be set to a specific value and not simply the origin value in the request header.

CORS shouldn't be needed since the server is called directly by the ID Broker, not using XHR requests in a browser. If I am wrong and it is called in an XHR request, then the CORS Access-Control-Allow-Origin should be set to a specific value and not simply the origin value in the request header.
@briskt briskt requested review from a team and forevermatt August 28, 2023 15:55
Copy link
Contributor

@forevermatt forevermatt left a comment

Choose a reason for hiding this comment

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

Looks fine to me (and conceptually, I agree that this shouldn't need CORS), I'm just not very proficient at the little syntax/implementation details.

Copy link
Contributor

@jason-jackson jason-jackson left a comment

Choose a reason for hiding this comment

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

If I'm not mistaken, the lambda never used the CORS middleware anyway, just the server app, which also looks like it never used it either.

@briskt briskt merged commit 7d6d49d into develop Aug 28, 2023
@briskt briskt deleted the feature/remove-cors branch August 28, 2023 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants