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

Investigate CORS / authorization for anonymous requests #268

Open
hburn7 opened this issue Apr 16, 2024 · 2 comments
Open

Investigate CORS / authorization for anonymous requests #268

hburn7 opened this issue Apr 16, 2024 · 2 comments
Assignees

Comments

@hburn7
Copy link
Collaborator

hburn7 commented Apr 16, 2024

Filtering of anonymous requests

We need to identify the proper way for anonymous requests to be made specifically from the website. We desire a result of [AllowAnonymous] for any unauthorized website visitor. We do NOT want to allow requests from any program / client from the open internet for these calls.

Possible solutions

  • Specific authorization policy that relies on a private header value
  • Use CORS in some way to restrict which requests make it through. This is preferable as we already have a CORS policy, but we'll still have to get past the authorization middleware.
@hburn7
Copy link
Collaborator Author

hburn7 commented Dec 11, 2024

Do we need to keep this open?

@myssto
Copy link
Contributor

myssto commented Dec 12, 2024

Do we need to keep this open?

Not sure... I think maybe it could be transferred to something in the post-beta release project. Simply put, since this is a public API, CORS is not a big concern. However in the future I would like to harden CORS on any non-client endpoints to only accept requests from web.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: In Progress
Development

No branches or pull requests

2 participants