https://authzed.com logo
Title
b

bendoerr

11/17/2022, 12:45 AM
Hey everyone, I'm evaluating Authzed/SpiceDB and I'm running up against a problem, that I'm sure others have solved but I couldn't find anything anywhere. SpiceDB seems to have some very specific requirements on what characters are allowed as resource and object ids https://github.com/authzed/spicedb/blob/5009a53ac4ecb2f57ef7f6d9ed2444d166a6fa1d/pkg/tuple/tuple.go#L24-L25. My simple usecase, is a user who's id is their email address. I thought maybe base64 encode it, but forgot about '=' padding. What kind of encoding do folks suggest for resource ids to ensure compatibility?