For secrets/nonces or other volatile data I think the change to base62 is fine and one could argue if it should even be based on a UUID and not from SecureRandom. For persistent IDs, I’d stick with UUID, and preferably in binary instead of string form as long as possible. While not currently done so, a UUID can be stored as binary in databases as well (MSSQL: uniqueidentifier, Postgres: UUID) and would be much more efficient than either of the current string encodings.
We currently store the IDs of Keycloak groups in our system, assuming they are regular UUIDs. While this assumption might be invalid, I would assume that lots of other applications/integration use the same assumption (not just on group IDs) and would break badly.
--
Ingo
--
You received this message because you are subscribed to the Google Groups "Keycloak Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
keycloak-dev...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/keycloak-dev/CAJgngAc%3DOPdop%3DFM%3DLgpYcVernDG-cpQjyX8dh0kVpSxwb8tJg%40mail.gmail.com.
For secrets/nonces or other volatile data I think the change to base62 is fine and one could argue if it should even be based on a UUID and not from SecureRandom. For persistent IDs, I’d stick with UUID, and preferably in binary instead of string form as long as possible. While not currently done so, a UUID can be stored as binary in databases as well (MSSQL: uniqueidentifier, Postgres: UUID) and would be much more efficient than either of the current string encodings.
To view this discussion on the web visit https://groups.google.com/d/msgid/keycloak-dev/VI1PR0102MB3104C7B9F7A8897A40BBC292E49E9%40VI1PR0102MB3104.eurprd01.prod.exchangelabs.com.
--
You received this message because you are subscribed to the Google Groups "Keycloak Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keycloak-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/keycloak-dev/dbecd0325e88bb967556bbc9c50f461c6e581662.camel%40cdiscount.com.