Sample Code Flow with refresh tokens