Hummingbird v1

FREE
By vikhyat | Updated vor 25 Tagen | Entertainment
Popularity

7.6 / 10

Latency

63ms

Service Level

100%

Health Check

N/A

Back to All Discussions

Getting the user ID

Rapid account: Richardr
richardr
vor 10 Jahren

When we authenticate a user, the only thing returned is a token. We know either the username or email address because that’s what we sent.

To get the library though, we need the ID of the user. As far as I can see, there is no way to get this via the API. Additionally, library updates require only the token.

It would be nice if I could just do everything with the token though as it’s easy to store securely on my platform.

Rapid account: Misaka
misaka Commented vor 10 Jahren

+1

Rapid account: Halvkant
halvkant Commented vor 10 Jahren

+1

Rapid account: Inket
inket Commented vor 10 Jahren

+1

Rapid account: Kwartel
kwartel Commented vor 10 Jahren

+1

Rapid account: Kbkarma
kbkarma Commented vor 10 Jahren

+1

Rapid account: Wolfemm
wolfemm Commented vor 10 Jahren

+1

Rapid account: Nmsicoco
nmsicoco Commented vor 10 Jahren

+1

Rapid account: Nerothos
nerothos Commented vor 10 Jahren

+1

Rapid account: Vikhyat
vikhyat Commented vor 10 Jahren

It should now be possible to use “me” as the user ID to refer to the current user, when an auth_token is supplied.

Rapid account: Kbkarma
kbkarma Commented vor 10 Jahren

As was pointed out here, this token is the same for everyone, so using the token will succeed, but nothing will be returned. I’ll open a new issue for that in a moment for tracking it.

Join in the discussion - add comment below:

Login / Signup to post new comments