Skip to content

Instantly share code, notes, and snippets.

@sts
sts / openidc_otp_validation.sh
Last active June 18, 2024 11:51
Keycloak OTP Validation API
BASE_URL=https://localhost:8081/auth
CLIENT_ID=curl-test
CLIENT_SECRET=
USERNAME=
PASSWORD=
REALM=validation-test
OTP_CODE=027253
# OpenID Access Token via "Resource Owner Password Credentials Grant"