question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Skip kc-info-message and proceed directly to password update form

See original GitHub issue

Hello there!

I have a question regarding that kc-info-message component which locates in Info.tsx in your components. I am sending an email to user with executing action link. After he clicks it redirect to modal: Perform the following action(s): Update password

Is it possible to skip it and proceed directly to password update form?

image

Yes, I know it is not initialized through keycloakify yet, but I just wanted to ask a question before proceeding to code.

Thanks in advance.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
hookenfulcommented, Apr 29, 2022

Finally, we made it to work. Now all is ok, if something changes, I’ll be in touch. Thanks again and good luck 😃

~ We’ve got confused because being ping-ponged frontend keycloak integration problems through our frontend developer, but I am backend maintaner)

0reactions
garronejcommented, Apr 28, 2022

there are not “urlS” but url.

Absolutely, take the snippet of code I shared previously as psudo code. It was what came at the top of my head but you should trust the code definitions.
I see you are customizing at the component level. If all you want to acheive is skipping kc-info-message you can go CSS only.

The url you are looking for is kcContext.actionUri

image image

Put this literally anywhere in your code, just after getKcContext for example

if( kcContext?.pageId === "info.ftl" && kcContext.actionUri !== undefined ){
    document.location.replace(kcContext.actionUri)
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

Simple Password Reset | Drupal.org
This modules simplifies the password reset process. ... With this module enabled, the user skips the one-time login form.
Read more >
Self-service password reset deep dive - Azure Active Directory
In this article. How does the password reset process work? Require users to register when they sign in; Reconfirm authentication information ...
Read more >
Username & Password/Passphrase - CSUSM
1. Change/Setup Your Password. Please login using the link below to create or change your password. Completing both steps takes just 5 minutes....
Read more >
myPay Password Rules
The current myPay password requirements DoD security rules. ... When you create your new password or update it in the future, its security...
Read more >
Password Change Form - NCSU Go Links
Password Change Form. * required field. Unity ID * Current Password * show password. New Password * show password. Strength: Ready to check....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found