How to integrate keycloak sms authentication by API?
问题 I have a keycloak server and Laravel application using custom KeycloakProvider: public function loginByEmail(string $email, string $password): SsoTokens { try { $data = $this->realmEndpoint->makeRequest( HttpClientProvider::METHOD_POST, self::KEYCLOAK_AUTH_URL, [ 'client_id' => config('services.keycloak.realm_client'), 'client_secret' => config('services.keycloak.realm_secret'), 'grant_type' => 'password', 'username' => $email, 'password' => $password, 'scope' => 'openid' ] ); } catch