I created an admin SPI for importing applications. ApplicationImporter.
Basically it will allocate a JAX-RS service that can be referenced
under root/admin/realms/{realm}/application-importers/{id}
Admin console applicaiton list page now has a "import" button. This
brings you to a page where you can import one or more applications from
a selected format. Right now, I only support "SAML 2.0 Entity
Descriptor", but we should add one for our own JSON format, and OIDC too.
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com