Xwiki authenticate JWT


I’ve recently started setting up a xwiki. I have it setup with reverse proxy and HTTP redirect. I’m not trying to setup xwiki to take JWT’s. Basically I want users to be able to access xwiki if they are already authenticated on our own internal website. These logins are different than AD as most of our customers have their own serperate environments.

Can OpenID fit this bill or is there a better way of doing this?

Look forward to the responses!