RE: Is there a way to configure an oauth2 Application with portal properties

thumbnail
Jamie Sammons, modified 3 Years ago. New Member Posts: 2 Join Date: 5/2/22 Recent Posts

I am dockerising an existing Liferay instance. I am creating a new image from a base docker image (7.1.3-ga4-201905141153) I need to be able to configure an oauth2 app either :

  • As part of the image build - import a config file to Liferay_home path
  • As part of the image build - include the config in the portal.properties (or portal-ext.properties) file that will be imported into the image.
  • As environment vars in a docker-compose file that creates a container.
thumbnail
Zsigmond Rab, modified 3 Years ago. Liferay Master Posts: 764 Join Date: 1/5/10 Recent Posts

Hi Robert,

Do you mean having a way to deploy a complete (or a part of the) OAuth config in order not to add them manually each time?

If so, unfortunately there is no ootb solution for that. The good news is that we have just been working on a prototype that will bring this feature into the product. The bad news is that the prototype is for SAML config: LPS-139724.

Others may have som custom solution for that, though.

Regards,

Zsigmond