Add whoami-endpoint #174

Open
opened 2025-12-02 11:25:57 +00:00 by christian-monch · 1 comment
christian-monch commented 2025-12-02 11:25:57 +00:00 (Migrated from github.com)

Add an endpoint that can report on token properties:

  1. access-rights per collection
  2. inbox name

Possibly reports on:

  1. team membership in case of Forgejo-authentication source
Add an endpoint that can report on token properties: 1. access-rights per collection 2. inbox name Possibly reports on: 1. team membership in case of Forgejo-authentication source
Owner

This is pretty much available from the /tokens/<name> endpoint.

It is just a needless complication that a client needs to figure out the name of the token it is using first. I see no other way as to maintain a shadow config client-side that associates a token with the server-side config name. It would likely be trivial for the server to make that look-up based on an actual token supplied with a request.

This is pretty much available from the `/tokens/<name>` endpoint. It is just a needless complication that a client needs to figure out the name of the token it is using first. I see no other way as to maintain a shadow config client-side that associates a token with the server-side config name. It would likely be trivial for the server to make that look-up based on an actual token supplied with a request.
Sign in to join this conversation.
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
orinoco/dump-things-service#174
No description provided.