dasniko / testcontainers-keycloak

A Testcontainer implementation for Keycloak IAM & SSO.
Apache License 2.0
341 stars 53 forks source link

How to obtain client secret key from the imported keycloak file #12

Closed henryWorld closed 3 years ago

henryWorld commented 3 years ago

Hello,

I am currently using the Keycloak-Testcontainer. I have instantiated my keycloak test container by importing a keycloak file. The keycloak file has the client secret anonymized but I have a copy of it. The problem is when I try to get the token by injecting the client secret, I am consistently getting an error that the client secret is invalid. It seems the imported file wasn't properly mounted or perhaps, it does change the client secret. Not sure why this is the situation. Could someone help clarify this for me?

Thanks

henryWorld commented 3 years ago

Please, disregard this. Found out it was due to a buggy issue.