How to start Vert.x server from IntelliJ IDEA?

I’m using vertx 3.2.1 and it’s complaining about io.vertx.core.Starter. It’s deprecated now. So, one should use io.vertx.core.Launcher. This is an example of launching via intellij with the option of specifying a config JSON file: Main Class: io.vertx.core.Launcher VM Options: <up to you, or leave blank> Program Arguments: run com.app.verticle.MyVerticle -conf /path/to/my_config.json When using a logging … Read more

Refresh access_token via refresh_token in Keycloak

keycloak has REST API for creating an access_token using refresh_token. It is a POST endpoint with application/x-www-form-urlencoded Here is how it looks: Method: POST URL: https://keycloak.example.com/auth/realms/myrealm/protocol/openid-connect/token Body type: x-www-form-urlencoded Form fields: client_id : <my-client-name> grant_type : refresh_token refresh_token: <my-refresh-token> This will give you new access token using refresh token. NOTE: if your refresh token is … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)