Skip to content

Only send credentials to spot and prism backends if same-origin#801

Merged
timakro merged 1 commit intodevelopfrom
credentials-same-origin
Mar 27, 2026
Merged

Only send credentials to spot and prism backends if same-origin#801
timakro merged 1 commit intodevelopfrom
credentials-same-origin

Conversation

@timakro
Copy link
Copy Markdown
Collaborator

@timakro timakro commented Mar 26, 2026

Requests are always same-origin in production when Traefik auth is used since frontend, spot and prism live in the same Docker stack and share auth. This change was made so in local test environments wildcard CORS origin can be used (this would conflict with sending credentials).

Description

Related Issue


How Has This Been Tested?

@timakro timakro marked this pull request as draft March 26, 2026 16:06
@timakro timakro marked this pull request as draft March 26, 2026 16:06
Requests are always same-origin in production when Traefik auth is used since frontend, spot and prism live in the same Docker stack and share auth. This change was made so in local test environments wildcard CORS origin can be used (this would conflict with sending credentials).
@timakro timakro force-pushed the credentials-same-origin branch from ace6681 to 1beb6ff Compare March 26, 2026 16:08
@timakro timakro marked this pull request as ready for review March 26, 2026 16:09
@timakro timakro merged commit bd24c96 into develop Mar 27, 2026
4 checks passed
@timakro timakro deleted the credentials-same-origin branch March 27, 2026 08:13
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.

2 participants