Not an issue but more of a question. I have been using this code as an example to port to groovy but having a heck of a time. I am definitely no dev just like to dabble. I can't even get it working correctly in postman. Any chance someone could screenshot step by step in postman? I am trying to:
Do a webbrowser based auth.
Take the tokens returned and get an xsts token
Run a get presence. (This is easy once I figure out how to get an xsts token).
My end game is making presence work in Smartthings to allow for lighting automation depending on what app you are in. I have that part working either by manually getting the xsts from this code or using xapi which always seems to loose authentication. I just need to integrate better authentication into it.
Not an issue but more of a question. I have been using this code as an example to port to groovy but having a heck of a time. I am definitely no dev just like to dabble. I can't even get it working correctly in postman. Any chance someone could screenshot step by step in postman? I am trying to:
My end game is making presence work in Smartthings to allow for lighting automation depending on what app you are in. I have that part working either by manually getting the xsts from this code or using xapi which always seems to loose authentication. I just need to integrate better authentication into it.