Connect a clientId to a flow by generating a token