Skip to content

Allow Openvine Pages previews in auth CORS#53

Merged
rabble merged 1 commit intomasterfrom
fix/openvine-preview-cors
Mar 20, 2026
Merged

Allow Openvine Pages previews in auth CORS#53
rabble merged 1 commit intomasterfrom
fix/openvine-preview-cors

Conversation

@rabble
Copy link
Member

@rabble rabble commented Mar 15, 2026

Summary

  • allow restricted auth CORS origins to match wildcard subdomains such as https://*.openvine-app.pages.dev
  • deploy the preview-domain pattern in Cloud Run and assert the returned Access-Control-Allow-Origin header in smoke tests
  • document wildcard CORS origin support in env and deployment examples

Test Plan

  • cargo fmt --all
  • cargo test -p keycast origin_is_allowed
  • cargo test -p keycast test_origin_is_not_allowed_for_non_matching_wildcard_host
  • cargo test -p keycast

@rabble rabble merged commit f315026 into master Mar 20, 2026
10 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.

1 participant