* 'Konstantin Boyandin' via SimpleSAMLphp <
simple...@googlegroups.com> [2020-09-01 13:48]:
People shouldn't need to rely on autogenerated values and then guess
just what the autogenerated value is, IMO, esp those (such as
yourself) who can read comments and even the documentation.
The SSP developers made the choice to have the software autogenerate
its own instance name(s) so that deployers don't have to be bothered
with setting unique names.
To the extent that this prevents people from even realising that every
SAML entity (IDP or SP) needs -- and necessarily has -- a globally
unique name this was a mistake, IMO.
An entityID is a (globally unique) name for a SAML entity. So just set
the entityID parameter of your saml:SP authsource to a URL of your
own choosing, e.g.
https://your.example.org/saml/sp
(It does not have to resolve to anything, but it should be in a domain
you control, for sanity, e.g. the hostname where people access your
service + '/saml' at the end, done.)
For things to consider when setting that name/value see
https://wiki.shibboleth.net/confluence/display/concept/EntityNaming
though for a bilateral arrangement that may be overkill.
Once you have the name of your own system you also know what this
stupid[1] IDP implementation seemingly expects you to enter for
"Audience".
-peter
[1] None of what the IDP asks of you should be necessary -- that's
what SAML 2.0 Metadata was created for: A machine- (and human-, XML is
just text, after all) readable *standardised* representation of the
specifics of SAML entities (their names, keys, endpoints, etc.).
Simply feeding your partner the SAML Metadata of your system should
enable it to automatically configuire itself for your SP, without
bothering you to manually fill out forms asking for arcane (and
unknown to you) protocol details such as Assertion Consumer Service
URL, target, Issuer, Audience, etc.