accounts icon indicating copy to clipboard operation
accounts copied to clipboard

ResumeSession without fetch user from databse

Open brightchip opened this issue 3 years ago • 0 comments

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> {

brightchip avatar May 24 '21 07:05 brightchip