Cédric Krier pushed to branch branch/default at Tryton / Tryton
Commits: 75940b54 by Cédric Krier at 2022-12-30T13:15:27+01:00 Add note about configuring CORS for same SAML providers - - - - - 1 changed file: - modules/authentication_saml/doc/configuration.rst Changes: ===================================== modules/authentication_saml/doc/configuration.rst ===================================== @@ -10,6 +10,21 @@ Each service can be configuration with a section named ``[authentication_saml <service>]`` with the following options. +Example:: + + [authentication_saml] + test = SAMLTEST + + [authentication_saml test] + metadata = /path/to/metadata.xml + config = /path/to/config.py + login = email + +.. note:: + Depending on the service provider, you may need to add its origins to the + ``cors`` value in the ``[web]`` section of the :doc:`configuration file + <trytond:topics/configuration>`. + .. _config-authentication_saml.metadata: ``metadata`` @@ -33,13 +48,3 @@ The name of the identity attribute that contains the Tryton login of the user. The default value is ``uid``. - -Example:: - - [authentication_saml] - test = SAMLTEST - - [authentication_saml test] - metadata = /path/to/metadata.xml - config = /path/to/config.py - login = email View it on Heptapod: https://foss.heptapod.net/tryton/tryton/-/commit/75940b547913def6af4dc08125b45c87c684a8b5 -- View it on Heptapod: https://foss.heptapod.net/tryton/tryton/-/commit/75940b547913def6af4dc08125b45c87c684a8b5 You're receiving this email because of your account on foss.heptapod.net.