Skip to content

fix(providers): fix supabase apikey interpolation#5575

Open
hassan254-prog wants to merge 3 commits intomasterfrom
wari/fix-supabase-api-key-interpolation
Open

fix(providers): fix supabase apikey interpolation#5575
hassan254-prog wants to merge 3 commits intomasterfrom
wari/fix-supabase-api-key-interpolation

Conversation

@hassan254-prog
Copy link
Contributor

@hassan254-prog hassan254-prog commented Mar 5, 2026

  • fix supabase apikey interpolation

Fix Supabase API key interpolation and update Supabase docs paths

This PR fixes Supabase proxy header interpolation to use apiKey directly in packages/providers/providers.yaml, aligning with how credentials are passed at runtime. It also updates Supabase doc links and navigation to the new api-integrations paths and replaces legacy Supabase docs under docs/integrations/all with updated content in docs/api-integrations.

Key Changes

• Updated Supabase proxy headers in packages/providers/providers.yaml to use authorization: Bearer and apikey:
• Repointed Supabase docs links and navigation entries to docs/api-integrations/supabase.mdx and docs/api-integrations/supabase/connect.mdx via packages/providers/providers.yaml and docs/docs.json
• Replaced legacy Supabase docs in docs/integrations/all with new quickstart and connect content under docs/api-integrations

Possible Issues

• If any templates or consumers still reference credentials.apiKey for proxy headers, the new apiKey interpolation could be inconsistent outside Supabase.
• Legacy Supabase doc URLs may require redirects if external links target docs/integrations/all/supabase.


This summary was automatically generated by @propel-code-bot

@hassan254-prog hassan254-prog self-assigned this Mar 5, 2026
Copy link
Contributor

@propel-code-bot propel-code-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found a documentation anchor mismatch that breaks a deep link and needs alignment.

Status: Changes Suggested | Risk: Medium

Issues Identified & Suggestions
  • Fix heading anchor to match referenced doc section for deep links: docs/api-integrations/supabase/connect.mdx
Review Details

📁 14 files reviewed | 💬 1 comments

Instruction Files
├── .claude/
│   ├── agents/
│   │   └── nango-docs-migrator.md
│   └── skills/
│       ├── agent-builder-skill/
│       │   ├── EXAMPLES.md
│       │   └── SKILL.md
│       ├── creating-integration-docs/
│       │   └── SKILL.md
│       └── creating-skills-skill/
│           └── SKILL.md
├── AGENTS.md
└── GEMINI.md

👍 / 👎 individual comments to help improve reviews for you

proxy:
base_url: https://${connectionConfig.projectUrl}
headers:
authorization: Bearer ${credentials.apiKey}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently the api_key auth mode, interpolations are handled with the ${apiKey}, the ${credenails.key} format is only for TWO_STEP.

credentials:
apiKey:
type: string
title: API Key
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Supabase is encouraging users to use their newer Keys, anon and service_role keys are legacy.

@hassan254-prog hassan254-prog requested a review from a team March 5, 2026 20:04
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