cURL
curl --request POST \ --url https://api.example.com/oauth/bridge-session \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data 'supabase_token=<string>' \ --data 'return_to=<string>'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>", "input": "<unknown>", "ctx": {} } ] }
dashboard 経由で取得した Supabase JWT を oauth_session cookie に変換する。
フロー:
return_to は API 自身の URL のみ許可(オープンリダイレクト対策)。
Successful Response