Closed EdwardHinkle closed 6 years ago
I'm receiving this error from ?action=channels
?action=channels
{ "error": "unauthorized", "error_description": "The access token provided does not have the necessary scope for this action" }
At first I thought this might be a scoping issue. I checked my token endpoint and received:
{ "me": "https://eddiehinkle.com/", "client_id": "***", "scope": "create read" }
In IRC we talked and thought it might be because it is expecting scope to be an array. However I tried the following commit: https://github.com/EdwardHinkle/Aperture/commit/5c0e9b4c8f7743dd345426f1f0acf4370676b0b1 which still present the same error. So doesn't seem quite as easy as I thought.
Used a new token as to avoid cache issues and the fix works
I'm receiving this error from
?action=channels
{ "error": "unauthorized", "error_description": "The access token provided does not have the necessary scope for this action" }
At first I thought this might be a scoping issue. I checked my token endpoint and received:
{ "me": "https://eddiehinkle.com/", "client_id": "***", "scope": "create read" }
In IRC we talked and thought it might be because it is expecting scope to be an array. However I tried the following commit: https://github.com/EdwardHinkle/Aperture/commit/5c0e9b4c8f7743dd345426f1f0acf4370676b0b1 which still present the same error. So doesn't seem quite as easy as I thought.