-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Add timeout option for updateToken in the js adapter #10516
Add timeout option for updateToken in the js adapter #10516
Conversation
Should create a PR to add documentation? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also update the TypeScript definitions for this option with some documentation.
@panuhorsmalahti Are you still interested in landing this change? |
Closes #10514
bacb2c4
to
ef19cca
Compare
@jonkoops yes I'd like to get this merged. I added documentation to the TypeScript definition. |
Awesome, thanks for your contribution @panuhorsmalahti! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd also suggest including tests for this new option. You can find some examples here: https://github.com/keycloak/keycloak/blob/main/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/javascript/JavascriptAdapterTest.java
@panuhorsmalahti could you rebase your PR on |
I am closing this PR as we first want to do a refactor of Keycloak JS itself, which will not be happening soon-ish. This is definitely a useful addition that we want to land, but the bandwidth isn't there at the moment. I am keeping the issue around so we can get back to this change when we are in a better condition. |
Closes keycloak/keycloak-js#25
I'll make a PR to the documentation repo once this change is approved.