I solved the problem and successfully established the oauth connection. I only use the agent, I don't use anegt+end user. I send an email to the email address registered in the system with oauth settings but it doesn't appear as a ticket, what could be the reason? Email receiving settings are on, automatic cron is on.