send_email_through_keyclock
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| send_email_through_keyclock [2026/03/09 07:35] – sonali | send_email_through_keyclock [2026/03/09 08:00] (current) – sonali | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | < | ||
| + | A system where users can log in using their **email Id /Username + Email OTP** instead of username/ | ||
| **Make Email OTP Java SPI ** | **Make Email OTP Java SPI ** | ||
| Line 38: | Line 40: | ||
| **3. Run build inside the container (registers the provider)** | **3. Run build inside the container (registers the provider)** | ||
| + | < | ||
| + | # Verify it's there | ||
| + | docker exec keycloak_app ls / | ||
| + | |||
| + | </ | ||
| + | |||
| < | < | ||
| docker exec keycloak_app / | docker exec keycloak_app / | ||
| Line 70: | Line 78: | ||
| < | < | ||
| - | Go to Authentication → Flows → Create flow Name: Browser Email OTP → Save Add step → Username Password Form → Required Add step → Email OTP → Required | + | Go to Authentication → Flows → Create flow Name: Browser Email OTP |
| + | → Save Add step → Username Password Form → Required Add step → | ||
| + | Email OTP → Required | ||
| </ | </ | ||
| Line 84: | Line 94: | ||
| </ | </ | ||
| - | # check current email template | + | # check current email template |
| < | < | ||
| - | print(z.read(' | + | python3 -c " |
| + | import zipfile | ||
| + | with zipfile.ZipFile(' | ||
| + | | ||
| + | " | ||
| </ | </ | ||
| Line 148: | Line 162: | ||
| </ | </ | ||
| - | # Browser email otp Flow order should be\\ | + | **# Browser email otp Flow order should be** \\ |
| Username Form → Required (first)\\ | Username Form → Required (first)\\ | ||
| Email OTP Form → Required (second) | Email OTP Form → Required (second) | ||
| - | # Dont do this | + | **# Dont do this** |
| - No required user action available in user details\\ | - No required user action available in user details\\ | ||
send_email_through_keyclock.1773041727.txt.gz · Last modified: by sonali
