I'm struggling to use the access token in a react ...
# support-questions-legacy
d
I'm struggling to use the access token in a react frontend to call my API. I can authenticate against my auth server (auth.dev.connex2me.com) and I get a httponly cookie on my front end (app.local.connex2me.com [served locally using host record]). I have the cookie domain set to .connex2me on both the front end and back end ST configurations. I am trying to post to my api (api.dev.connex2me.com). I've tested the api in postman and it works if I copy and paste the access token in to the Authorization header, but I can't figure out how to send it in the react app. Calling Session.getAccessToken() returns null. I've tried setting tokenTransferMethod to "header", but it still returns null.