Access token in controller and decode it


#1

Hi how can i access token in controller and decode it ?


#2

jwt payload is accessible with auth…

async ctrlMethod({request, auth}) {
const tokenPayload = auth.jwtPayload.data
}