Skip to content

One player login for all servers of the same owner - #9

Merged
faolan-exe merged 1 commit into
mainfrom
feat/player-sso
Oct 22, 2026
Merged

faolan-exe merged 1 commit into
mainfrom
feat/player-sso

Conversation

@faolan-exe

Copy link
Copy Markdown
Owner

A PIN login now also counts on the other servers of the same owner where the player has played (signed domain-wide cookie with uuid and owner). Servers of other owners ignore it, since a modified plugin can log its owner in as anyone (ADR 0004). Logging out on one of them ends the login on all.

Tests

764 passed locally (7 new SSO tests, isolation test now against a server of another owner).

A PIN login also sets a signed, domain-wide cookie with the uuid and the server's owner. Other servers
of that owner where the player has played log them in as their own player; servers of other owners
ignore it, because a modified plugin can log its owner in as anyone. Logging out on one server ends
the login on all of them.
@faolan-exe
faolan-exe merged commit e81fe50 into main Oct 22, 2026
2 checks passed
@faolan-exe
faolan-exe deleted the feat/player-sso branch October 22, 2026 22:00
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