Repository navigation
feat: Guest auth - #3338
Merged
Merged
feat: Guest auth#3338
Conversation
kulmann
force-pushed
the
guest-auth
branch
6 times, most recently
from
October 8, 2026 13:48
380c74b to
b7f3402
Compare
kulmann
commented
Oct 8, 2026
|
|
||
| const description = computed(() => { | ||
| if (unref(space)) { | ||
| return $gettext('Your guest access to "%{name}" is active.', { name: unref(space).name }) |
Member
Author
There was a problem hiding this comment.
only a placeholder for the success case. in later iterations we will redirect the success case to a view where you can list files/folders and only keep this page for error states.
JammingBen
force-pushed
the
guest-auth
branch
from
October 14, 2026 09:30
b7f3402 to
3c216fd
Compare
JammingBen
force-pushed
the
guest-auth
branch
from
October 14, 2026 10:06
5a0f282 to
934b3b1
Compare
JammingBen
marked this pull request as ready for review
October 14, 2026 11:20
AlexAndBear
approved these changes
Oct 14, 2026
9 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Lets guests authenticate via the invitation link they receive by email.
/g/:tokentrades the link token for a guest session viaPOST guestLinks/verify/token. The server sets the session as an httpOnly cookie (signed JWT, 24h), web only keeps thepermissionIdin localStorage.session_expired401) clears the guest context. A logged-in user always takes precedence over a guest session.renewandverify/pin(not used yet).Scope: after a successful resolve, the guest lands on a placeholder page (
/guest/:shareName) confirming the active session.Not tackled yet (follow-ups):
Issue
How Has This Been Tested?
Apart from the automated tests, if you want to test this manually:
docker run --rm --network container:web_oc natsio/nats-box nats -s nats://127.0.0.1:9233 sub main-queue --raw | jq --unbuffered -r 'select(.Metadata.eventtype | test("GuestTokenCreated")) | .Payload | @base64d | fromjson | .Token'Types of changes