Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hello,
I'm currently implementing an LLM chat box for Windchill 13.0 and need a secure solution to send a key to an outside service, which will be saved in the session and used to query the Windchill API to gather data. Security context is important, so I need to send a key for the current user. For example, I'm currently sending the wcadmin bearer token for testing purposes.
The code for the chat box is in a JSP file, so I need to be able to fetch the key from that context.
Thanks!
use the wrscaller to run WRS and then use
<Server>/Windchill/servlet/odata/v5/PTC/GetCSRFToken()
