How to follow a channel on behalf of a user?

One way would be for them to authorize your application when they go to your web front end and generate a User Access Token with the user_follows_edit scope. Then you can follow a channel on their behalf using the generated token.