Server: OAuthProtectedResourceConfig

Alpha. Configuration for withOAuthProtectedResource.

Both options accept a fixed string or a function of the request. Both default to values derived from the request as it arrives through the Supabase Edge Functions proxy, so no configuration is needed there.

The OAuth Protected Resource surface is alpha — the config shape, the contributed context key, and the metadata route may change in a minor release.

Parameters