Where to Keep application.propertirs file?

i have designed a customEventListerner to send out an email, when the user does not verify his/her registration within specified time. code works fine. but i want to keep my application.properties file inside /providers folder along with my jar, so that my jar reads my application.properties file from the same folder where it resides.
However, i am getting error saying, unable to locate application.properties file.
i logged below line
String directory = System.getProperty(“jboss.server.config.dir”);
it printed as //bin
that means jar is running from /bin folder ?

Keycloak does not make use of the application.properties file.
If you want to configure your custom providers, see here: Configuring providers - Keycloak