UCMDB UI (CMS UI) Internal server error with OAUTH

Hello,

My situation is: I have new Tenant in SMAX and new Customer in UCMDB both on the version 24.4 Containerized. I connected these with Native SACM. So far so good. The problem comes when I try to enable OAUTH2 on UCMDB. I have no problem with logging in SMAX with OAUTH, but when I try to log in UCMDB (either by Local Client or CMS UI) I get Internal Server Error. 

{"code":"INTERNAL_SERVER_ERROR","message":"Internal server error","detail":"Internal server error"}

But when I use login with db user on adress (https://<EXTERNAL_ACCESS_HOST>/ucmdb-browser?customerID=<CustomerID>&auth=db), everything works fine.
I´ve had this problem with older versions as well.

While setting up SSO I used this documentation:
https://docs.microfocus.com/doc/SMAX/2022.05/AssociateTenantCustomer#Step_2.%C2%A0Create_CMS_integration_admin_user
https://docs.microfocus.com/doc/SMAX/2022.05/CreateCMSConsumerCustomerSharedIdM
https://docs.microfocus.com/doc/SMAX/24.4/SsoUcmdb

Has anyone gone through this before? If so, how did you solve it?