Skip to content

Conversation

@jonkoops
Copy link
Contributor

Allows the init() method to be called without providing any options, defaulting to an empty object instead. This allows the removal of some conditional code and aligns it with the documentation, which omits the options in several instances.

Closes #8935

@jonkoops
Copy link
Contributor Author

I recommended reviewing this PR with white-space hidden, as otherwise the diff can be a bit overwhelming. Not much logic has changed, but some indentation has.
image

Copy link
Contributor

@rmartinc rmartinc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jonkoops jonkoops merged commit 228c21a into keycloak:main Oct 15, 2024
@jonkoops jonkoops deleted the kjs-allow-default-init branch October 15, 2024 15:46
jonkoops added a commit to jonkoops/keycloak that referenced this pull request Oct 15, 2024
jonkoops added a commit that referenced this pull request Oct 15, 2024
@edewit edewit mentioned this pull request Nov 19, 2024
@edewit edewit mentioned this pull request Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

keycloak.js example from the documentation leads to error path

3 participants