We're trying to use the JS widget to enable change password (password's not expired, just changing it). The REST API requires a stateToken but i can't see any way to create/generate a state token.
We've got the widget working for other scenarios but just not this one.