Using sessionToken how can get access_token and id_token

Take a look at this thread to know how to get the access_token from session token.
It also has sample code in javascript & .net -