Let’s say I’m using Ruby, and I want to update a user’s email on Auth0.
To do so, I’d fire off a put
request to the /api/v2/users/{id}
endpoint with some headers and a body.
But, because Auth0 user IDs contain pipes, the URI looks a bit like this: https://(auth0stuff)/api/v2/users/auth0|somerandomuseridstring
.
And pipes don’t seem to be valid characters in URIs (they’re normally encoded as %7C
).
So Ruby won’t even build the URI for me. Encoding the pipe as %7C
causes Auth0 to not find the user.
- Am I overlooking something really obvious? (I hope so!)
- Is this the same in other languages?
Pretty much as it says in the title. It seems like no matter which library I use for making the request to the Auth0 management