Skip to content

feat(authguest): added redeem endpoint for auth-guest service - #76

Merged
rhafer merged 4 commits into
opencloud-eu:mainfrom
maki5:feat/auth-guest
Oct 1, 2026
Merged

rhafer merged 4 commits into
opencloud-eu:mainfrom
maki5:feat/auth-guest

Conversation

@maki5

@maki5 maki5 commented Sep 29, 2026

Copy link
Copy Markdown
Contributor

Comment thread api/openapi-spec/v1.0.yaml Outdated
message:
type: string
description: Human-readable error message.
share_id:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we'd better name this permissionId. As this is how shares are represented in the GraphAPI.

Host-only, HttpOnly and Secure guest session cookie (default name
`__Host-oc_guest_session`).
schema:
type: string

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As just discussed with @kulmann this endpoint should also return a response body including the shareId/permissionId.

Comment thread api/openapi-spec/v1.0.yaml Outdated
name: "secret stuff"
default:
$ref: '#/components/responses/error'
'/v1beta1/extensions/org.libregraph/guestInvitations/redeem':

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After another discussion with @rhafer we thought it might be better to name this /v1beta1/extensions/org.libregraph/guestLinks instead.

@rhafer rhafer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For consistency we should also rename all the occurrences of guestInvitaion(s) with guestLink(s). E.g. guestInvitationRedeemResponse -> guestLinkRedeemResponse

Other than that I think this looks good.

@rhafer
rhafer merged commit 6d5db09 into opencloud-eu:main Oct 1, 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.

3 participants