Authentication error
Airel.J.35
Posts: 6 🌱
in Development
Hi, I'm trying to use lti 1.3 and I want to authenticate using https://auth.brightspace.com/core/connect/token
I created a new client id using the Oauth 2.0 section in Manage extensibility as administrator
However when I try to consume the service I receive an error:
{
"error": "unauthorized_client",
"error_description": "This client is not permitted to use the client_credentials grant"
}
Do I have to do any extra config?
this is what my jwt looks like
https://jwt.io/#debugger-io?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IjZkOTYxMGM4NWZmZDIzYzY3ZDE4MWE5M2Q3ZmY5MWVkIn0.eyJpc3MiOiI1ZDJkZWQzOS0yMTZkLTQ 3NDMtYmNlNi01ZjUyMjc0ZjM4ZTkiLCJhdWQiOiJodHRwczovL2FwaS5icmlnaHRzcGFjZS5j b20vYXV0aC90b2tlbiIsImp0aSI6IjVkMmRlZDM5LTIxNmQtNDc0My1iY2U2LTVmNTIyNzRmM zhlOSIsImlhdCI6MTcxMzU2NDI5MSwic3ViIjoiOGYxNDMzYWEtNjgzMC00OTAzLWFhZmItMWRiZjE yYTIyMTRjIiwibmJmIjoxNzEzNTY0MjkxLCJleHAiOjE3MTM1Njc4OTF9.KkcORUkd8NSErrj_wSe1 HuBEIpet2vzqQYkLBTEIaMNBIoQuI4e87eQzynSlW8G4D2MApaiwx9SkUpocz8itQWcWZeETlXVDphF_8mzJx2C8GBjQHQ1V8u_MVrtckyuSNij2Vn5CHU4RCUT-fCMULI__okMUezcuPWLHf_uRG-GwcotQTDc7 QWrjMKzT3YBrCCEjUjrmFlJHmMaWiFYATweCmB7nJIKlSPecolchyfOvS5YiTRJ2E_tWJ3aCJ yX41EVEFvFspBbpVohjTzo_nRtlGiOrj9L8L24duv4yfFk2eaPv-9fT5NM7KmiaoGMhWw5nDjs 9FZu6DrVSQjfl0g
I created a new client id using the Oauth 2.0 section in Manage extensibility as administrator
However when I try to consume the service I receive an error:
{
"error": "unauthorized_client",
"error_description": "This client is not permitted to use the client_credentials grant"
}
Do I have to do any extra config?
this is what my jwt looks like
https://jwt.io/#debugger-io?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IjZkOTYxMGM4NWZmZDIzYzY3ZDE4MWE5M2Q3ZmY5MWVkIn0.eyJpc3MiOiI1ZDJkZWQzOS0yMTZkLTQ 3NDMtYmNlNi01ZjUyMjc0ZjM4ZTkiLCJhdWQiOiJodHRwczovL2FwaS5icmlnaHRzcGFjZS5j b20vYXV0aC90b2tlbiIsImp0aSI6IjVkMmRlZDM5LTIxNmQtNDc0My1iY2U2LTVmNTIyNzRmM zhlOSIsImlhdCI6MTcxMzU2NDI5MSwic3ViIjoiOGYxNDMzYWEtNjgzMC00OTAzLWFhZmItMWRiZjE yYTIyMTRjIiwibmJmIjoxNzEzNTY0MjkxLCJleHAiOjE3MTM1Njc4OTF9.KkcORUkd8NSErrj_wSe1 HuBEIpet2vzqQYkLBTEIaMNBIoQuI4e87eQzynSlW8G4D2MApaiwx9SkUpocz8itQWcWZeETlXVDphF_8mzJx2C8GBjQHQ1V8u_MVrtckyuSNij2Vn5CHU4RCUT-fCMULI__okMUezcuPWLHf_uRG-GwcotQTDc7 QWrjMKzT3YBrCCEjUjrmFlJHmMaWiFYATweCmB7nJIKlSPecolchyfOvS5YiTRJ2E_tWJ3aCJ yX41EVEFvFspBbpVohjTzo_nRtlGiOrj9L8L24duv4yfFk2eaPv-9fT5NM7KmiaoGMhWw5nDjs 9FZu6DrVSQjfl0g
Tagged:
Answers
-
Hi @Airel.J.35 ,
Thanks for connecting with the community for your question. Can I recommend you post this question in our Developers community group? It's a great way to connect API related questions like this one with expert eyes.
Thanks!
-
Thanks!!