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