Thank you very much BarryCarlyon
I already changed the type of token and how it is generated and everything works perfect