accounts
accounts copied to clipboard
ResumeSession without fetch user from databse
https://github.com/accounts-js/accounts/blob/14ce077498ea8d89a26ff73ed051885409cb9200/packages/server/src/accounts-server.ts#L481
https://github.com/accounts-js/accounts/blob/14ce077498ea8d89a26ff73ed051885409cb9200/packages/server/src/accounts-server.ts#L514
Can you add an option to return only userId from JWT without go through database for user .
public async resumeSession(accessToken: string, jwtOnly: Boolean): Promise<CustomUser> {