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.