ferrerojosh / nest-keycloak-connect

keycloak-nodejs-connect module for Nest
MIT License
318 stars 123 forks source link

Keycloak-connect deprecated, use another middleware ? #152

Open Zied-ncq opened 1 year ago

Zied-ncq commented 1 year ago

Since the release of Keycloak 19, there were a plan to deprecate all keycloak connect adapters including keycloak-connect.

Is there a way to include another Oauth2 middleware like passport or any other provider.

kasir-barati commented 1 year ago

Any update on this?

In this keycloak-connect issue I found two potential alternatives:

ferrerojosh commented 1 year ago

Yeah I think we could use another middleware, but I'll need to find an alternative for keycloak's authz feature. I think there should be an existing api for that, was it called keycloak-admin or something.

kasir-barati commented 1 year ago

Yeah I think we could use another middleware, but I'll need to find an alternative for keycloak's authz feature. I think there should be an existing api for that, was it called keycloak-admin or something.

I guess you're talking about https://github.com/keycloak/keycloak/tree/main/js/libs/keycloak-admin-client

valerii15298 commented 1 year ago

Also there is another interesting alternative which I proposed:

https://github.com/keycloak/keycloak-nodejs-connect/issues/492

devloe commented 1 year ago

Any updates?