Duplicate API - "Super user key" missing scope

iDrunK65250

Member
Affected version
2.3
Hello,
When I try to retrieve the information of a specific user (in my case ID 2), I get a missing scope error "user:read".

(GET https://mysuperxenforoforum.com/api/users/2)
1720949343236.webp

After checking my key is valid
1720949447812.webp

I created a second key, this time a "User key" with all the scopes and obtained the same result.
I created a third "User Key" with the "user:read" scope. And this time the request worked.

So the bug is that the api doesn't check whether the key has the "allow_all_scopes" field set to true and therefore forces the use of scopes in all cases.
 
Fixed in 2.3.1:

 
Back
Top Bottom