docmost icon indicating copy to clipboard operation
docmost copied to clipboard

Add request typings and change JWT extraction

Open will2hew opened this issue 7 months ago • 1 comments

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 for user, workspace and workspaceId and uses that new type where appropriate
  • Uses the provided extractor functions option from the JWT Module

will2hew avatar Jul 05 '24 05:07 will2hew