OAuth Authorization Code Flow for a chat bot: 401 invalid csrf token

Yup

that won’t work as that tokengen will only work/expects with it’s ClientID/Secret pair