authgear / authgear/authgear-server

Support for CORS COEP COOP CORP CORB (cross-origin isolation)

Open
#1,585 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2k
Forks
125
Avg merge
2d 17h
Merged PRs (30d)
32

Description

We have support for traditional CORS (i.e. preflight request). After the introduction of CORB, the server can include Content-Type, `X-Content-Type-Options: nosniff` and ACAO in the response to let the browser run the CORB algorithm.

[COEP](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Embedder-Policy) allows a site to mandate CORS or CORP from the resource origin.

[COOP](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Opener-Policy) configures the browsing context.

[CORP](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Resource-Policy) specify whether a resource can be loaded cross-origin.

They together enable cross-origin isolation, which is essential to enable features like ShareArrayBuffer.

Contributor guide

Open the contributing guide

Research direction

Start by researching how the server handles HTTP response headers and the linked COEP, COOP, and CORP specifications. Define the supported behavior for cross-origin isolation, including CORB-related Content-Type, X-Content-Type-Options, and ACAO responses, before identifying the relevant implementation and tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend-api-design, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.