Strapi email confirmation validation API endpoint

it should give a jwt token before it redirects does it not? if it does you can use the token to get the information you need