MongoDB 8.0.23 - OIDC authentication via Keycloak

Hi

While to setup and test OIDC authentication for Percona MongoDB 8.0.23 using Keycloak - the authentication does not work.

I tried using mongosh ( ubuntu host ) and also via MongoDB Compass

On MongoDB Compass side - I am little further and get this error message

“$external”,“error”:“BadValue: Invalid JWT :: caused by :: unsupported issuer or audience”,

while on the mongosh side - I get this message -

Error: Unable to fetch issuer metadata for <https://youknow.what.com/realms/Mongodb"

Any one has faced this situation and any feedback/suggestion ?

Thank you in advance