Assadi
Well-known member
I am trying to use the API to handle authentication for a video game, but it's been a little annoying to say the least. Initially, I created a super admin API key with all scopes granted. One would expect this to allow you to perform all actions, however, that is not the case.
With a super admin key, I can authenticate users via the
I am not sure what we are expected to do currently. It seems the only way to get around this is to first authenticate the user with the super admin key, then, ignore the user object that is returned and instead make a separate request to the API with a separate key in order to retrieve the necessary data.
Is this a bug with super admin key privileges or is this actually the intended functionality and I'm maybe just missing something?
With a super admin key, I can authenticate users via the
auth/
endpoint, but I cannot create users via the users/
endpoint. Instead, you have to use a key associated with an admin user. Using an admin key does not grant you access to the endpoint require for authentication, though. This is not a big deal; I can just use two keys. The real annoyance arises with the fact that a super admin key simply doesn't have access to half of the fields in the user object (e.g., user state, group ids, and so on) — only my standard admin user key receives the expected contents of the user object.I am not sure what we are expected to do currently. It seems the only way to get around this is to first authenticate the user with the super admin key, then, ignore the user object that is returned and instead make a separate request to the API with a separate key in order to retrieve the necessary data.
Is this a bug with super admin key privileges or is this actually the intended functionality and I'm maybe just missing something?