Also please update the docs , that connection_id is required field for getting a ticket.
connection_id
is not required if you use the user_id
. It’s either/or, see Auth0 Management API v2
- Use only
user_id
or - use
connection_id
andemail
.
That’s because when using the user_id
alone, which is in a format like this auth0|5d26fd9194be680e0e42b43d
for example, it’s clear which connection it refers to (from the first part).
but i am getting this error when requesting
in your first attempt (your initial question), which error message did you get? Did you use user_id
as parameter here?
There are 2 kind of strategies connection when fetching (auth0, database)
Yes, it’s auth0
.
(Please provide links to any docs you’re referring to, otherwise it’s hard to know which sources you mean. For example, I don’t know where this connection strategy of “database” is coming from, was that mentioned anywhere in some docs or API reference?)