Hi there,
In oxtrust, is there a Casa client still listed? Go to OpenID Connect > Clients
In 3.1.x the Casa client expires after one year of usage, that might be the problem...
If so, follow [these steps](https://gluu.org/docs/casa/3.1.6/administration/faq/#in-case-of-lockout) to trigger re-registration of client. Then go and extend expiration of the client using oxTrust...