Wooop woop!!! thanks a lot!
It seemed that I was actually being a huge huge noob and I was getting the token from the session storage but I wasn’t parsing it so I wasn’t actually getting the token I was just getting a huge string!!
Thanks a lot for your help !!!