Is it possible to use the default xWiki REST API with JWT and Oauth2?

Hello everyone :smiley:

I have my Wiki configured to use Keycloak to log-in to the Wiki.
And I want to use the default REST API of the Wiki to create pages and objects in my Wiki.

Is it possible to use JWT tokens to be able to use the xWiki default API?

Any information or documentation would be appreciated.