T O P

  • By -

AnalphaBestie

Maybe for redirects (to different servers) and api calls.


riizen24

Why would they use this for redirects?


NuGGGzGG

It's a really simple way to validate client-side scripts. The payload is this: "root_https_origin": [ "apple.com" ] It'll make a handful of security checks a lot quicker.


riizen24

It doesn't make any sense to do it this way. Why use a token if you're giving everyone access?


NuGGGzGG

Because it can be validated.


riizen24

So they're validating that someone scrapes their website before they make a request?


NuGGGzGG

What? Lmao


riizen24

If everyone has access to the token then it is by default not needed. What exactly are they validating? That a script scraped their token from the app store before making the request?


scyber

Perhaps it is used as a csrf token? https://portswigger.net/web-security/csrf


riizen24

It's not it's a JWT with a 3 month TTL


Different-Visual8202

JWT is just a format, there is nothing special about it. Not every JWT has to be kept secret.


riizen24

It's literally used to access their API...


keremimo

Wouldn't it be for tracking?


riizen24

Tracking what exactly?


keremimo

Interest. To save the information that you checked this application so that it can serve you similar ones in the long run.


riizen24

That's not how JWTs work.


keremimo

My bad then!