docmost
docmost copied to clipboard
Add request typings and change JWT extraction
This PR does a small bit of housekeeping to make it easier to potentially add OIDC in the future, and generally improves developer experience.
- Adds a new
AppRequest
type which contains the correct typing foruser
,workspace
andworkspaceId
and uses that new type where appropriate - Uses the provided extractor functions option from the JWT Module