Parse server and Keycloak linking Auth Adapter

Hello Iā€™ve just migrate to the parse server 5.4.0.
I was surprised when I saw the depreciation of keycloak adapter
ā€œauth.keycloak is deprecated and will be removed in a future version. auth.keycloak.enabled: trueā€

My question is what is the recommended way to replace it ?
1- Copy the current keycloak adapter, update it and add custom config

2- Write an other adapter to work with OAuth2 flow ?

Iā€™m looking for the right way and not the fastest

You just need to add enabled: true to the adapter. Weā€™re not depreciating the adapters, weā€™re just making it so they have to be implicitly enabled to be called/used.

OK thanks for the answere.