.. include:: /Includes.rst.txt .. _task-1791328253: ================================================== Task: Let packages add kinds of identity providers ================================================== Description =========== A kind of identity provider, such as OpenID Connect or SAML 2.0, is now one implementation of the core's ``IdentityProviderType`` port: it connects a provider when it is saved, tests and shows its connection, and says whether the login page sends people to it. A package adds a kind, such as a directory login, without changing the core. Impact ====== What a kind needs beyond the common settings is sent and returned in ``connection``; for SAML 2.0 these are ``connection.metadataUrl`` and ``connection.metadataXml``, and the representation shows adsum's metadata address and assertion consumer service there. A type that is not installed is refused with 422. .. index:: API, package:adsum-core