Okay, I think I got it based on both @animisha45 and @ed19’suggestions. First, the lesson learned is that calling the backend workflow for this from within the frontend workflow doesn’t return a token (or JSON response). I had to expose the backend workflow API for external calling. Then, I configured a Bubble API Endpoint in the API Connector. I can then call this from the workflow, which will return the full JSON. (additional forum stuff).
I know I have the full JSON response and can pass the credentials in the workflow… with constraints as you suggested.
{
"status": "success",
"response": {
"token": "bus|1721xxxxxxxxx589010xxxxxxxxxxxx|172xxxxxxxxx4x32xxxxxxxxxx602xxx",
"user_id": "1721728852224xxxxxxxxxxxxxxxxxxxx",
"expires": 31536000
}
}
My final question is: What is the expiration format returned in the JSON payload, and how do I store it correctly in the Bubble dataType field?