Okta sessionToken passes to SharePoint on-prem

I’m able to obtain Okta Token from calling /authn, then passed it to /session . I need to know how to pass that to SharePoint through AJAX rest calls to get results such as /getlistbytitle(‘listname’)/items?..
I’m using JavaScript in an html page and I get access denied error when I call SharePoint using Odata.
Any example will help I’ve been trying for weeks now.