Skip to content

Redis-backed OAuth broker state (session persistence)#8

Merged
ttpears merged 1 commit into
feat/m365-oauth-connectorfrom
redis-session-store
Jun 28, 2026
Merged

Redis-backed OAuth broker state (session persistence)#8
ttpears merged 1 commit into
feat/m365-oauth-connectorfrom
redis-session-store

Conversation

@ttpears

@ttpears ttpears commented Jun 28, 2026

Copy link
Copy Markdown
Owner

Moves the entra-proxy's in-memory clients/pending/codes maps behind an async KvStore — in-memory by default, Redis when REDIS_URL is set — so DCR clients and in-flight auth flows survive redeploys and can run more than one replica. Keys namespaced by issuer host (REDIS_KEY_PREFIX base), so it shares the same swarm Redis as gitlab-mcp-custom without collision.

Faithful port of the store just shipped in ttpears/gitlab-mcp 2.1.0. Verified: register→authorize roundtrips through the store (302 for a known client, 400 for unknown). Targets the feature branch; its preview image will carry the change for swarm validation.

…ence

Move the entra-proxy's in-memory clients/pending/codes maps behind an async
KvStore (in-memory default, Redis when REDIS_URL is set), so DCR clients and
in-flight auth flows survive redeploys and can be shared across replicas. Keys
namespaced by issuer host. Mirrors ttpears/gitlab-mcp.
@ttpears
ttpears merged commit c2401fe into feat/m365-oauth-connector Jun 28, 2026
3 checks passed
@ttpears
ttpears deleted the redis-session-store branch June 28, 2026 20:28
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