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
Use Phone Authenticator Form For User Authentication And Registration #9
Comments
I think you can forward users to the registration page after login using SMS. the code is like this:
but the problem is, the The idea is, you need to create a new template file, which is almost the same as BTW, I'm also not much familiar with Keycloak (since I left the company and I personally don't use it ). maybe there's a better solution. ==================== |
For Deploying The phone-authenticator package without The SPI Packages I did the following:
The Content Being:
I feel like I'm missing something elementary here, please correct me if any of these steps were wrong. Thanks In Advance! |
It looks good to me. But the error seems like some tips about how to test your code efficiently:you can clone the Keycloak repository and put your code under folder
Then you can run keycloak locally using the following (refer):
BTW, don't forget to run |
Hi, apologies for my vague title but there are a couple of problem statements that I'm trying to solve here. I have no coding experience in Java, so please bear with me if they are quite elementary. I have already deployed this SPI and was wondering how to proceed with handling specific use cases. My Use case is this:
Get User's Phone Number and verify with OTP, if no users are mapped for the phoneNumber, create new user, ask for the user details in the login form itself. I have done some basic additions to your code in src/main/com/hfx/keycloak/spi/UsernamePasswordorPhoneForm
But I want to emit the value of NEW_USER_CREATED to the frontend so that either
But I don't have enough understanding about this implementation to go ahead with either. If you have any ideas please let me know.
Also, If I wanted to do away with the SMS Interface/SPI Packages (
keycloak-phone-authenticator-yuntongxun-sms
andyuntongxun4j
) and simply wanted to add the SMS implementation in the main packagekeycloak-phone-authenticator
how would I go about it?I know this is not an 'issue' in the package itself but I have searched through the internet and have found no resource as good as yours for my usecase hence was wondering if I could pick your brains about it.
Thanks in advance!
The text was updated successfully, but these errors were encountered: