8000 Allow Keycloak JS to be initialized without passing options by jonkoops · Pull Request #33950 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

Allow Keycloak JS to be initialized without passing options - #33950

Merged
jonkoops merged 1 commit into
keycloak:mainfrom
jonkoops:kjs-allow-default-init
Oct 15, 2024
Merged

jonkoops merged 1 commit into
keycloak:mainfrom
jonkoops:kjs-allow-default-init

Conversation

@jonkoops
Copy link
Copy Markdown
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

Closes keycloak#8935

Signed-off-by: Jon Koops <jonkoops@gmail.com>
@jonkoops
Copy link
Copy Markdown
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

@rmartinc rmartinc left a comment
Copy link
Copy Markdown
Contributor

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
…#33950)

Closes keycloak#8935

Signed-off-by: Jon Koops <jonkoops@gmail.com>
(cherry picked from commit 228c21a)
jonkoops added a commit that referenced this pull request Oct 15, 2024
…33962)

Closes #8935

Signed-off-by: Jon Koops <jonkoops@gmail.com>
(cherry picked from commit 228c21a)
@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

0