```Caused by: java.lang.RuntimeException: Failed t...
# troubleshoot
m
Copy code
Caused by: java.lang.RuntimeException: Failed to resolve user name claim from profile provided by Identity Provider. Missing attribute. Attribute: 'preferred_username', Regex: '(.*)', Profile: {at_hash=froRaU5vpSNyY0aMxVEXmw, token_expiration_advance=-1, aud=[WCca1QCzMPQ6HDgOthv0UvB6WtuMUjHC], id_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJ0ZWxldHJhYW4iLCJzdWIiOiIxIiwiYXVkIjoiV0NjYTFRQ3pNUFE2SERnT3RodjBVdkI2V3R1TVVqSEMiLCJleHAiOjE2MzQ3MjQyOTgsImlhdCI6MTYzNDcxNzA5OCwidXNlcm5hbWUiOiJydWljb3JlIiwiYXRfaGFzaCI6ImZyb1JhVTV2cFNOeVkwYU14VkVYbXcifQ.EQeE8S12nrwIj5FeoJDcAOXT3nzcQCrdpyrmBVXJmTs, iss=teletraan, exp=Wed Oct 20 10:04:58 GMT 2021, iat=Wed Oct 20 08:04:58 GMT 2021, username=ruicore}
b
Hi there!
Looking now
Which OIDC provider are you username?
It seems that we were unable to extract the username from the OIDC profile. One thing you can do to fix this is to adjust the
AUTH_OIDC_USER_NAME_CLAIM
to be "username", as shown in the profile. So in your datahub-frontend-react container docker.env:
Copy code
AUTH_OIDC_USER_NAME_CLAIM=username
m
thx, that’s solved my problem
b
amazing!!!