Afrikaans | Català | Čeština | Dansk | Deutsch | ελληνικά | English | Español | eesti keel | Euskara | Suomeksi | Français | עִבְרִית | Hrvatski | Magyar | Bahasa Indonesia | Italiano | 日本語 | Lëtzebuergesch | Lietuvių kalba | Latviešu | Nederlands | Nynorsk | Bokmål | Język polski | Português | Português brasileiro | Românește | русский язык | Sámegiella | Slovenščina | Srpski | Sesotho | Svenska | Türkçe | isiXhosa | 简体中文 | 繁體中文 | IsiZulu

SAML 2.0 SP 元信息

这里是SimpleSAMLphp为你生成的元信息,你应该发送这个元信息文档给你的信任的合作伙伴以建立信任的联盟

你可以在 获取元信息XML

https://idp.puskas.hu/simplesaml/module.php/saml/sp/metadata.php/google-workspace

元信息

在SAML 2.0 XML 元信息格式中:

<?xml version="1.0"?>
<md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" entityID="https://accounts.google.com/o/saml2?idpid=C02llnksk">
  <md:SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol urn:oasis:names:tc:SAML:1.1:protocol">
    <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://idp.puskas.hu/simplesaml/module.php/saml/sp/saml2-logout.php/google-workspace"/>
    <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://idp.puskas.hu/simplesaml/module.php/saml/sp/saml2-acs.php/google-workspace" index="0"/>
    <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:browser-post" Location="https://idp.puskas.hu/simplesaml/module.php/saml/sp/saml1-acs.php/google-workspace" index="1"/>
    <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact" Location="https://idp.puskas.hu/simplesaml/module.php/saml/sp/saml2-acs.php/google-workspace" index="2"/>
    <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:artifact-01" Location="https://idp.puskas.hu/simplesaml/module.php/saml/sp/saml1-acs.php/google-workspace/artifact" index="3"/>
  </md:SPSSODescriptor>
  <md:ContactPerson contactType="technical">
    <md:GivenName>KIF&#xDC;</md:GivenName>
    <md:SurName>AAI</md:SurName>
    <md:EmailAddress>mailto:core@eduid.hu</md:EmailAddress>
  </md:ContactPerson>
</md:EntityDescriptor>

如果你想在其他网站使用的SimpleSAMLphp,那么你应该使用SimpleSAMLphp扁平的文件格式

$metadata['https://accounts.google.com/o/saml2?idpid=C02llnksk'] = [
    'SingleLogoutService' => [
        [
            'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect',
            'Location' => 'https://idp.puskas.hu/simplesaml/module.php/saml/sp/saml2-logout.php/google-workspace',
        ],
    ],
    'AssertionConsumerService' => [
        [
            'index' => 0,
            'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST',
            'Location' => 'https://idp.puskas.hu/simplesaml/module.php/saml/sp/saml2-acs.php/google-workspace',
        ],
        [
            'index' => 1,
            'Binding' => 'urn:oasis:names:tc:SAML:1.0:profiles:browser-post',
            'Location' => 'https://idp.puskas.hu/simplesaml/module.php/saml/sp/saml1-acs.php/google-workspace',
        ],
        [
            'index' => 2,
            'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact',
            'Location' => 'https://idp.puskas.hu/simplesaml/module.php/saml/sp/saml2-acs.php/google-workspace',
        ],
        [
            'index' => 3,
            'Binding' => 'urn:oasis:names:tc:SAML:1.0:profiles:artifact-01',
            'Location' => 'https://idp.puskas.hu/simplesaml/module.php/saml/sp/saml1-acs.php/google-workspace/artifact',
        ],
    ],
    'contacts' => [
        [
            'emailAddress' => 'core@eduid.hu',
            'contactType' => 'technical',
            'givenName' => 'KIFÜ',
            'surName' => 'AAI',
        ],
    ],
];