Generate SSO Token

 

Generate SSO Token is used to generate tokens (SAML2.0) to provide SSO capabilities. Token represent user identity and can be passed to various systems to authenticate user.

API Information

Target Audience
All Sabre APIs Customers
Current Version
1.2.0
Authentication
Session Token
Service Action Code
SSO_GenerateTokenRQ

Sample request

<GenerateTokenRQ version="1" applicationID="TestApp1" xmlns="http://webservices.sabre.com/sabreXML/sso/ssoaas/SSO_GenerateToken/1.2.0">
  <OpenTokenInfo name="openToken">
    <User username="sg0123456">
      <Attrs>
        <Attr key="key1">
          <Val>value1</Val>
        </Attr>
        <Attr key="key2">
          <Val>value11</Val>
          <Val>value12</Val>
          <Val>value13</Val>
          <Val>value14</Val>
        </Attr>
      </Attrs>
    </User>
    <Session id="id1111">
      <Duration>60</Duration>
      <AuthnContext>auth ctx1</AuthnContext>
      <SessionLength>123456</SessionLength>
      <AuthnInstant>2013-11-26T13:39:46.319Z</AuthnInstant>
      <inResponseTo>a1234567890</inResponseTo>
    </Session>
  </OpenTokenInfo>
</GenerateTokenRQ>

Sample response

<GenerateTokenRS xmlns="http://webservices.sabre.com/sabreXML/sso/ssoaas/SSO_GenerateToken/1.2.0">
  <ResponseInfo isValid="true" code="0"/>
  <OpenToken name="openToken">T1RLAQLNF9TtGDQvsRGpPxFY/aetFNZHTBATQ/Vo0jQnr2i1YBhJ2SuTAABAB157f4pzpustg/Hbg5aFsBfHEngmehQ8A3nfERvwqLhfgTRjFWC+7n6tDf/gscw9iUAUwX3pgqrdhxBIAwHi1g**</OpenToken>
</GenerateTokenRS>

If you are a Sabre customer currently using Sabre APIs in production, access  Resources

Docs Navigation