CMS Version
2.3.8
Installation Method
Docker
Operating System
Windows
Issue
I use the API to interact with my CMS from an external app. Until now I used the client credential grant-type to get the access token, but now i want the users to connect themself to Xibo with username and password.
I think I should use the access code to do that, so I tried this request on Postman :
{{url}}/api/authorize?client_id={{clientId}}&redirect_uri=https://app.getpostman.com/oauth2/callback
But i get the following error :
I tried to add the client secret in parameter too but same result.
There is no clear documentation on authorization request and I don’t know what to do now.
EDIT: When I try to get the access token with the grant_type access_code I get the following error:
RE-EDIT: I figured out after looking in the source code than the doc is wrong when talking about grant_type=access_code, we have to use authorization_code instead.
But even like this i got the same result