Skip to main content

Generate SSO Token

1.2.0
Session Management
SOAP API

The Generate SSO Token (SSO_GenerateTokenRQ) serviceĀ 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.

Target Audience
Travel Agency
Airline Carrier
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>