Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs on deprication of nodejs adapter #512

Open
cisar2218 opened this issue Nov 15, 2023 · 1 comment
Open

Docs on deprication of nodejs adapter #512

cisar2218 opened this issue Nov 15, 2023 · 1 comment

Comments

@cisar2218
Copy link

cisar2218 commented Nov 15, 2023

Description

For users it would be handy to add warning with alternatives to docs here. Perhaps link to "nodejs adapter deprication update" post would do the job.

At npm:

Warning This package is deprecated and will be removed in the future. We will shortly provide more details on removal date, and recommended alternatives.

To improve the statement I suggest provide more details at least link to this thread (for me it took quite some time to find this discussion with handy tips/alternatives from community).

Details

For more details on topic of deprication read this related discussion.

@stianst stianst transferred this issue from keycloak/keycloak Feb 1, 2024
@ttante
Copy link

ttante commented Feb 12, 2024

Bumping this because most connectors have broken examples and getting a working node.js + keycloak solution is turning into a huge headache, with all signs pointing to needing a rewrite soon.

UPDATE: I've found something that works! Keycloak has actually made keycloak-admin-client - it's VERY difficult to find via google because it's buried deep in their monorepo.

Also - the example for it is broken (shocker!). To use it, don't use grantType: 'password', instead use 'client_credentials' and add the client secret in a property named 'clientSecret' on the object you pass to kcAdminClient.

The official Keycloak guides/docs have no mention of this new module and still point to the old one. This took WAY too much time because of Keycloak's outdated documentation, it's such a shame. I hope this saves someone the days that I wasted coming up with a working node solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants