Skip to content

Commit

Permalink
chore: Force the mail address of the automatically created admin user…
Browse files Browse the repository at this point in the history
… to be valid

Otherwise, the user might not be able to sign in.
  • Loading branch information
hangy committed Sep 8, 2024
1 parent 21fe03f commit 1fb0feb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions runtime-scripts/after_startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ rm -f /tmp/health
# Waiting for Keycloak to start before proceeding with the configurations.
wait_for_keycloak

# Force the admin user to be email verified
/opt/keycloak/bin/kcadm.sh update users/$KEYCLOAK_ADMIN -s 'emailVerified=true'

# Keycloak is running.

echo "Calling configure_keycloak"
Expand Down

0 comments on commit 1fb0feb

Please sign in to comment.