Designer login issues
DataIntegrityViolationException error
If you cannot login to FlowX Designer after the 5.x upgrade and encounter the following error in the authorization-system logs:sub
(subject ID) is missing from JWT tokens. Starting with Keycloak version 25, the sub
claim is not added by default to lightweight access tokens.
Solution: Ensure the basic
Client Scope is created in your Keycloak Realm and added to all FlowX clients.
Since Keycloak version 25, the
sub
claim is not added by default to JWT lightweight tokens. This is a breaking change that affects FlowX.AI authentication.How to verify if subject ID is missing
1
Login attempt
Try to login to FlowX Designer and note if the login fails.
2
Capture the token
- Open your browserβs Developer Tools
- Navigate to the Network tab
- Attempt to login again
- Look for a call to:
https://<your-keycloak-address>/auth/realms/flowx/protocol/openid-connect/token
- Copy the access token from the response
3
Decode the token
- Go to https://jwt.io/
- Paste the token in the Encoded section
- Check the Payload section for the presence of the
sub
claim
If the
sub
claim is present, the token should contain a field like: "sub": "12345678-1234-1234-1234-123456789abc"
4
Verify Client Scope configuration
If the
sub
claim is missing, you need to configure the Client Scope in Keycloak:- Login to your Keycloak Admin Console
- Navigate to your FlowX realm
- Go to Client Scopes
- Ensure the
basic
client scope exists and includes thesub
claim - Add this client scope to all FlowX clients (FlowX Designer, Admin, etc.)
Additional resources
Keycloak Release Notes
Official Keycloak documentation about lightweight access token changes
Other common issues
Additional troubleshooting sections will be added as common post-upgrade issues are identified. If you encounter issues not covered here, please consult the FlowX support team.