Hello Alexandre,
Please go to `Configuration` > `Manage Custom Scripts` select the `Resource Owner Password Credential` tab and open the `super_gluu_ro` script.
Under `Custom Property` section , locate the `application_id` property and change the value there to https://<server>/casa , where <server> is the fqdn of your server.
Save your changes , wait a moment for the script to be reloaded and try again.