Hi, after configuring the redirect URI in Azure I am getting this error when trying to log in:
"error":"invalid_client","error_description":"AADSTS7000218: The request body must contain the following parameter: 'client_assertion' or 'client_secret'. Thanks
Hi @Amelia Salgado ,
Error 7000218 generally happens when the installer cannot properly validate or connect to one of the required services/environments.
A few things worth checking:
This setup guide can also help narrow it down:
https://success.outsystems.com/documentation/11/outsystems_11_to_odc_conversion/plan_app_conversion/set_up_the_conversion_assessment_tool/
Regards,
Manish Jawla
hi, already did all of these and I still go into a login loop which ends up with an error. Any other suggestion?
That error means Azure AD is rejecting your request because it’s not receiving any credentials for the application (no client_secret or client_assertion) in the token request.
client_secret
client_assertion
In OutSystems O11 this typically happens for one of these reasons:
Client secret not configured in Azure AD
ClientId
ClientSecret
Secret exists but isn’t being sent in the request
ADALLogin
application/x-www-form-urlencoded
grant_type=authorization_code
client_id={ClientId}
client_secret={ClientSecret}
redirect_uri={RedirectURI}
code={AuthCode}
grant_type=client_credentials&client_id={ClientId}&client_secret={ClientSecret}&scope=https%3A%2F%2Fgraph.microsoft.com%2F.default
Wrong flow / wrong app type
Mismatched redirect URI
Concrete steps to fix:
grant_type
client_id
redirect_uri
code
Once the secret is configured in both Azure and OutSystems and is being sent in the token request, the AADSTS7000218 error should disappear.
AADSTS7000218