With Postman I tried to create a request(like a React SPA app) to generate token:
POST: http://123.123.123.123:8080/realms/admin_console_realm/protocol/openid-connect/token?client_id=admin_console_client&grant_type=passwordI get response:
{ "access_token": "eyJhb....X8N8ulVbQ", "expires_in": 300, "refresh_expires_in": 1800, "refresh_token": "eyJhbGc....Q", "token_type": "Bearer", "not-before-policy": 0, "session_state": "5595860d-35d8-4fe1-9f6f-147c38255172", "scope": "email profile" }What should be the proper way to send a username and password and then to use confirmation code (OTP code) received by e-mail for Keycloak 21?
BR