Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom headers support to Redash API calls #16

Merged
merged 5 commits into from
Feb 15, 2025
Merged

Conversation

yamitzky
Copy link
Owner

@yamitzky yamitzky commented Feb 15, 2025

This pull request introduces the ability to add custom headers to Redash API calls. This feature is particularly useful when authenticating through Cloudflare or similar services that require additional headers for proper authentication and access.

Motivation

When using Redash behind Cloudflare or similar services, additional headers are often required for authentication, e.g. CF-Access-Client-Id

How to use

REDASH_CUSTOM_HEADERS="CF-Access-Client-Id:your-client-id;CF-Access-Client-Secret:your-client-secret"

@yamitzky yamitzky merged commit 1227a20 into main Feb 15, 2025
@yamitzky yamitzky deleted the feat/custom-header branch February 15, 2025 03:43
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