[keycloak-user] Data truncation: Data too long for column 'ID' at row 1

Corentin Dupont corentin.dupont at gmail.com
Sun Nov 3 18:11:51 EST 2019


Hi guys,
I'm creating keycloak protection resources by providing my own ID, in order
to map my resources easily with my own database. The naming schema is:
<prefix>-<DB_ID>
However, I get some errors: Data truncation: Data too long for column 'ID'
at row 1

The DB_ID can be long, we didn't think to limit it. If I understand,
Keycloak IDs are limited to 36 characters or something like that? How to
relax this constraint?
Thanks
Corentin


More information about the keycloak-user mailing list