Skip to content

Configurable OAuth success page via proxy config#51

Merged
samcm merged 1 commit intomasterfrom
feat/configurable-success-page
Mar 11, 2026
Merged

Configurable OAuth success page via proxy config#51
samcm merged 1 commit intomasterfrom
feat/configurable-success-page

Conversation

@samcm
Copy link
Member

@samcm samcm commented Mar 11, 2026

Summary

Adds a success_page config block to proxy config for customizing the OAuth callback page. Rules match on org and/or username to resolve tagline text and media (GIF URL or base64 ASCII art), and the proxy passes the resolved fields to the client via redirect query params. Replaces the hardcoded special-user map and ethpandaops org checks — the client just renders whatever it receives now.

Move hardcoded special-user and org checks out of the client success
page renderer into a config-driven rule system on the proxy. Rules
match on org membership and/or username, and specify tagline text
and media (GIF URL or base64 ASCII art). First matching rule wins,
with an optional default fallback.

The proxy resolves display fields during the OAuth callback and passes
them to the client via redirect query params. The client renders
whatever it receives instead of checking a hardcoded user list.
@samcm samcm merged commit 79c85fd into master Mar 11, 2026
4 checks passed
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