If you are in a TanStack Start project you don't need to user oidc-spa/server directly. oidc-spa/react-tanstack-start already provides the utilities to create authed server functions and REST API endpoints.
oidc-spa/server
oidc-spa/react-tanstack-start
Was this helpful?