Strapi email confirmation validation API endpoint

Do you know how to use this to redirect back to the frontend with the jwt?

Currently your example redirects me to strapi, with query param ?confirmation=xxx

How can i redirect/consume this on the frontend?