Closed mhadi512 closed 10 months ago
I spent time checking my app imports, and I was about to create a new fresh Nest app to check if it's an issue in the package or my code. Closing this issue without any reference to a fix or a PR is not nice.
I'm very thankful for this awesome package, really appreciated. But it would be great if you reply with a comment saying that this issue has been fixed in 1.9.5 before closing it.
I have a custom service to do manual token validation to handle requests coming from Websockets gateway. But I have implemented multi-tenancy recently, so this service needs to be updated to use the multi-tenancy options and resolvers.
here is part of the service I'm trying to inject the KeycloakMultiTenantService into:
AdminstrationModule (the same module is importing the Keycloak connect module and my custom service):
But I get the below error:
Nest can't resolve dependencies of the KeycloakConnectService (AppClsService, KEYCLOAK_CONNECT_OPTIONS, ?). Please make sure that the argument KEYCLOAK_MULTITENANT_SERVICE at index [2] is available in the AdministrationModule context.
First I was using an old version of this package, but I noticed that there is a new version (1.9.4) which exports the KeycloakMultiTenantService. but still getting the same error.
What am I missing?
Thanks for this great NestJS wrapper.