Get token already logged in session

Check the answer here to see if it also answers your query: How do apps know about users logged in via okta UserHome?