Hi,
I'm developing a web app(Web SDK) that allows uploading of documents to IDM. All other data in the app will be M3. This will also be run within the Infor OS-> M3 H5 client. I'm looking to call IDM via IONApi. However, I haven't found a way to get the OAuth token from the session.
In an IONAPI sample in H5 javascript - there's a H5SampleIonApiService sample that uses IonApiService from MUA 13.4. IonApiService.Current.token automatically has the token, and is also automatically refreshed.
I debugged the IDM interface itself on a single tenant environment, and it calls https://xxxx.cloud.infor.com:nnn/ca/api/items, with parameters for IDM attributes and the file itself streamed. But the token is already present. So the token seems to be the only one I'm missing.

Is there a way to get the session IONApi token?
Regards,
Jonathan