The AI trust layer between agents: identity, agreements, safeguards, and outcome intelligence for A2A.

Viewing files at commit 3b628facecbcCommit detailsView latest

api/oauth-authorization-server.ts 14 lines · 440 B · typescript
1
import { auth0Config } from './auth0.js';
2
3
export async function GET(): Promise<Response> {
4
  const { issuer } = auth0Config();
5
  const response = await fetch(`${issuer}.well-known/oauth-authorization-server`);
6
  return new Response(response.body, {
7
    status: response.status,
8
    headers: {
9
      'access-control-allow-origin': '*',
10
      'cache-control': 'public, max-age=3600',
11
      'content-type': 'application/json',
12
    },
13
  });
14
}