1{ 2 "version":"2.0", 3 "metadata":{ 4 "apiVersion":"2019-06-10", 5 "endpointPrefix":"oidc", 6 "jsonVersion":"1.1", 7 "protocol":"rest-json", 8 "serviceAbbreviation":"SSO OIDC", 9 "serviceFullName":"AWS SSO OIDC", 10 "serviceId":"SSO OIDC", 11 "signatureVersion":"v4", 12 "signingName":"sso-oauth", 13 "uid":"sso-oidc-2019-06-10" 14 }, 15 "operations":{ 16 "CreateToken":{ 17 "name":"CreateToken", 18 "http":{ 19 "method":"POST", 20 "requestUri":"/token" 21 }, 22 "input":{"shape":"CreateTokenRequest"}, 23 "output":{"shape":"CreateTokenResponse"}, 24 "errors":[ 25 {"shape":"InvalidRequestException"}, 26 {"shape":"InvalidClientException"}, 27 {"shape":"InvalidGrantException"}, 28 {"shape":"UnauthorizedClientException"}, 29 {"shape":"UnsupportedGrantTypeException"}, 30 {"shape":"InvalidScopeException"}, 31 {"shape":"AuthorizationPendingException"}, 32 {"shape":"SlowDownException"}, 33 {"shape":"AccessDeniedException"}, 34 {"shape":"ExpiredTokenException"}, 35 {"shape":"InternalServerException"} 36 ], 37 "documentation":"<p>Creates and returns access and refresh tokens for clients that are authenticated using client secrets. The access token can be used to fetch short-term credentials for the assigned AWS accounts or to access application APIs using <code>bearer</code> authentication.</p>", 38 "authtype":"none" 39 }, 40 "CreateTokenWithIAM":{ 41 "name":"CreateTokenWithIAM", 42 "http":{ 43 "method":"POST", 44 "requestUri":"/token?aws_iam=t" 45 }, 46 "input":{"shape":"CreateTokenWithIAMRequest"}, 47 "output":{"shape":"CreateTokenWithIAMResponse"}, 48 "errors":[ 49 {"shape":"InvalidRequestException"}, 50 {"shape":"InvalidClientException"}, 51 {"shape":"InvalidGrantException"}, 52 {"shape":"UnauthorizedClientException"}, 53 {"shape":"UnsupportedGrantTypeException"}, 54 {"shape":"InvalidScopeException"}, 55 {"shape":"AuthorizationPendingException"}, 56 {"shape":"SlowDownException"}, 57 {"shape":"AccessDeniedException"}, 58 {"shape":"ExpiredTokenException"}, 59 {"shape":"InternalServerException"}, 60 {"shape":"InvalidRequestRegionException"} 61 ], 62 "documentation":"<p>Creates and returns access and refresh tokens for clients and applications that are authenticated using IAM entities. The access token can be used to fetch short-term credentials for the assigned AWS accounts or to access application APIs using <code>bearer</code> authentication.</p>" 63 }, 64 "RegisterClient":{ 65 "name":"RegisterClient", 66 "http":{ 67 "method":"POST", 68 "requestUri":"/client/register" 69 }, 70 "input":{"shape":"RegisterClientRequest"}, 71 "output":{"shape":"RegisterClientResponse"}, 72 "errors":[ 73 {"shape":"InvalidRequestException"}, 74 {"shape":"InvalidScopeException"}, 75 {"shape":"InvalidClientMetadataException"}, 76 {"shape":"InternalServerException"} 77 ], 78 "documentation":"<p>Registers a client with IAM Identity Center. This allows clients to initiate device authorization. The output should be persisted for reuse through many authentication requests.</p>", 79 "authtype":"none" 80 }, 81 "StartDeviceAuthorization":{ 82 "name":"StartDeviceAuthorization", 83 "http":{ 84 "method":"POST", 85 "requestUri":"/device_authorization" 86 }, 87 "input":{"shape":"StartDeviceAuthorizationRequest"}, 88 "output":{"shape":"StartDeviceAuthorizationResponse"}, 89 "errors":[ 90 {"shape":"InvalidRequestException"}, 91 {"shape":"InvalidClientException"}, 92 {"shape":"UnauthorizedClientException"}, 93 {"shape":"SlowDownException"}, 94 {"shape":"InternalServerException"} 95 ], 96 "documentation":"<p>Initiates device authorization by requesting a pair of verification codes from the authorization service.</p>", 97 "authtype":"none" 98 } 99 }, 100 "shapes":{ 101 "AccessDeniedException":{ 102 "type":"structure", 103 "members":{ 104 "error":{ 105 "shape":"Error", 106 "documentation":"<p>Single error code. For this exception the value will be <code>access_denied</code>.</p>" 107 }, 108 "error_description":{ 109 "shape":"ErrorDescription", 110 "documentation":"<p>Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.</p>" 111 } 112 }, 113 "documentation":"<p>You do not have sufficient access to perform this action.</p>", 114 "error":{"httpStatusCode":400}, 115 "exception":true 116 }, 117 "AccessToken":{ 118 "type":"string", 119 "sensitive":true 120 }, 121 "Assertion":{ 122 "type":"string", 123 "sensitive":true 124 }, 125 "AuthCode":{"type":"string"}, 126 "AuthorizationPendingException":{ 127 "type":"structure", 128 "members":{ 129 "error":{ 130 "shape":"Error", 131 "documentation":"<p>Single error code. For this exception the value will be <code>authorization_pending</code>.</p>" 132 }, 133 "error_description":{ 134 "shape":"ErrorDescription", 135 "documentation":"<p>Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.</p>" 136 } 137 }, 138 "documentation":"<p>Indicates that a request to authorize a client with an access user session token is pending.</p>", 139 "error":{"httpStatusCode":400}, 140 "exception":true 141 }, 142 "ClientId":{"type":"string"}, 143 "ClientName":{"type":"string"}, 144 "ClientSecret":{ 145 "type":"string", 146 "sensitive":true 147 }, 148 "ClientType":{"type":"string"}, 149 "CreateTokenRequest":{ 150 "type":"structure", 151 "required":[ 152 "clientId", 153 "clientSecret", 154 "grantType" 155 ], 156 "members":{ 157 "clientId":{ 158 "shape":"ClientId", 159 "documentation":"<p>The unique identifier string for the client or application. This value comes from the result of the <a>RegisterClient</a> API.</p>" 160 }, 161 "clientSecret":{ 162 "shape":"ClientSecret", 163 "documentation":"<p>A secret string generated for the client. This value should come from the persisted result of the <a>RegisterClient</a> API.</p>" 164 }, 165 "grantType":{ 166 "shape":"GrantType", 167 "documentation":"<p>Supports the following OAuth grant types: Device Code and Refresh Token. Specify either of the following values, depending on the grant type that you want:</p> <p>* Device Code - <code>urn:ietf:params:oauth:grant-type:device_code</code> </p> <p>* Refresh Token - <code>refresh_token</code> </p> <p>For information about how to obtain the device code, see the <a>StartDeviceAuthorization</a> topic.</p>" 168 }, 169 "deviceCode":{ 170 "shape":"DeviceCode", 171 "documentation":"<p>Used only when calling this API for the Device Code grant type. This short-term code is used to identify this authorization request. This comes from the result of the <a>StartDeviceAuthorization</a> API.</p>" 172 }, 173 "code":{ 174 "shape":"AuthCode", 175 "documentation":"<p>Used only when calling this API for the Authorization Code grant type. The short-term code is used to identify this authorization request. This grant type is currently unsupported for the <a>CreateToken</a> API.</p>" 176 }, 177 "refreshToken":{ 178 "shape":"RefreshToken", 179 "documentation":"<p>Used only when calling this API for the Refresh Token grant type. This token is used to refresh short-term tokens, such as the access token, that might expire.</p> <p>For more information about the features and limitations of the current IAM Identity Center OIDC implementation, see <i>Considerations for Using this Guide</i> in the <a href=\"https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/Welcome.html\">IAM Identity Center OIDC API Reference</a>.</p>" 180 }, 181 "scope":{ 182 "shape":"Scopes", 183 "documentation":"<p>The list of scopes for which authorization is requested. The access token that is issued is limited to the scopes that are granted. If this value is not specified, IAM Identity Center authorizes all scopes that are configured for the client during the call to <a>RegisterClient</a>.</p>" 184 }, 185 "redirectUri":{ 186 "shape":"URI", 187 "documentation":"<p>Used only when calling this API for the Authorization Code grant type. This value specifies the location of the client or application that has registered to receive the authorization code.</p>" 188 } 189 } 190 }, 191 "CreateTokenResponse":{ 192 "type":"structure", 193 "members":{ 194 "accessToken":{ 195 "shape":"AccessToken", 196 "documentation":"<p>A bearer token to access AWS accounts and applications assigned to a user.</p>" 197 }, 198 "tokenType":{ 199 "shape":"TokenType", 200 "documentation":"<p>Used to notify the client that the returned token is an access token. The supported token type is <code>Bearer</code>.</p>" 201 }, 202 "expiresIn":{ 203 "shape":"ExpirationInSeconds", 204 "documentation":"<p>Indicates the time in seconds when an access token will expire.</p>" 205 }, 206 "refreshToken":{ 207 "shape":"RefreshToken", 208 "documentation":"<p>A token that, if present, can be used to refresh a previously issued access token that might have expired.</p> <p>For more information about the features and limitations of the current IAM Identity Center OIDC implementation, see <i>Considerations for Using this Guide</i> in the <a href=\"https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/Welcome.html\">IAM Identity Center OIDC API Reference</a>.</p>" 209 }, 210 "idToken":{ 211 "shape":"IdToken", 212 "documentation":"<p>The <code>idToken</code> is not implemented or supported. For more information about the features and limitations of the current IAM Identity Center OIDC implementation, see <i>Considerations for Using this Guide</i> in the <a href=\"https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/Welcome.html\">IAM Identity Center OIDC API Reference</a>.</p> <p>A JSON Web Token (JWT) that identifies who is associated with the issued access token. </p>" 213 } 214 } 215 }, 216 "CreateTokenWithIAMRequest":{ 217 "type":"structure", 218 "required":[ 219 "clientId", 220 "grantType" 221 ], 222 "members":{ 223 "clientId":{ 224 "shape":"ClientId", 225 "documentation":"<p>The unique identifier string for the client or application. This value is an application ARN that has OAuth grants configured.</p>" 226 }, 227 "grantType":{ 228 "shape":"GrantType", 229 "documentation":"<p>Supports the following OAuth grant types: Authorization Code, Refresh Token, JWT Bearer, and Token Exchange. Specify one of the following values, depending on the grant type that you want:</p> <p>* Authorization Code - <code>authorization_code</code> </p> <p>* Refresh Token - <code>refresh_token</code> </p> <p>* JWT Bearer - <code>urn:ietf:params:oauth:grant-type:jwt-bearer</code> </p> <p>* Token Exchange - <code>urn:ietf:params:oauth:grant-type:token-exchange</code> </p>" 230 }, 231 "code":{ 232 "shape":"AuthCode", 233 "documentation":"<p>Used only when calling this API for the Authorization Code grant type. This short-term code is used to identify this authorization request. The code is obtained through a redirect from IAM Identity Center to a redirect URI persisted in the Authorization Code GrantOptions for the application.</p>" 234 }, 235 "refreshToken":{ 236 "shape":"RefreshToken", 237 "documentation":"<p>Used only when calling this API for the Refresh Token grant type. This token is used to refresh short-term tokens, such as the access token, that might expire.</p> <p>For more information about the features and limitations of the current IAM Identity Center OIDC implementation, see <i>Considerations for Using this Guide</i> in the <a href=\"https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/Welcome.html\">IAM Identity Center OIDC API Reference</a>.</p>" 238 }, 239 "assertion":{ 240 "shape":"Assertion", 241 "documentation":"<p>Used only when calling this API for the JWT Bearer grant type. This value specifies the JSON Web Token (JWT) issued by a trusted token issuer. To authorize a trusted token issuer, configure the JWT Bearer GrantOptions for the application.</p>" 242 }, 243 "scope":{ 244 "shape":"Scopes", 245 "documentation":"<p>The list of scopes for which authorization is requested. The access token that is issued is limited to the scopes that are granted. If the value is not specified, IAM Identity Center authorizes all scopes configured for the application, including the following default scopes: <code>openid</code>, <code>aws</code>, <code>sts:identity_context</code>.</p>" 246 }, 247 "redirectUri":{ 248 "shape":"URI", 249 "documentation":"<p>Used only when calling this API for the Authorization Code grant type. This value specifies the location of the client or application that has registered to receive the authorization code. </p>" 250 }, 251 "subjectToken":{ 252 "shape":"SubjectToken", 253 "documentation":"<p>Used only when calling this API for the Token Exchange grant type. This value specifies the subject of the exchange. The value of the subject token must be an access token issued by IAM Identity Center to a different client or application. The access token must have authorized scopes that indicate the requested application as a target audience.</p>" 254 }, 255 "subjectTokenType":{ 256 "shape":"TokenTypeURI", 257 "documentation":"<p>Used only when calling this API for the Token Exchange grant type. This value specifies the type of token that is passed as the subject of the exchange. The following value is supported:</p> <p>* Access Token - <code>urn:ietf:params:oauth:token-type:access_token</code> </p>" 258 }, 259 "requestedTokenType":{ 260 "shape":"TokenTypeURI", 261 "documentation":"<p>Used only when calling this API for the Token Exchange grant type. This value specifies the type of token that the requester can receive. The following values are supported:</p> <p>* Access Token - <code>urn:ietf:params:oauth:token-type:access_token</code> </p> <p>* Refresh Token - <code>urn:ietf:params:oauth:token-type:refresh_token</code> </p>" 262 } 263 } 264 }, 265 "CreateTokenWithIAMResponse":{ 266 "type":"structure", 267 "members":{ 268 "accessToken":{ 269 "shape":"AccessToken", 270 "documentation":"<p>A bearer token to access AWS accounts and applications assigned to a user.</p>" 271 }, 272 "tokenType":{ 273 "shape":"TokenType", 274 "documentation":"<p>Used to notify the requester that the returned token is an access token. The supported token type is <code>Bearer</code>.</p>" 275 }, 276 "expiresIn":{ 277 "shape":"ExpirationInSeconds", 278 "documentation":"<p>Indicates the time in seconds when an access token will expire.</p>" 279 }, 280 "refreshToken":{ 281 "shape":"RefreshToken", 282 "documentation":"<p>A token that, if present, can be used to refresh a previously issued access token that might have expired.</p> <p>For more information about the features and limitations of the current IAM Identity Center OIDC implementation, see <i>Considerations for Using this Guide</i> in the <a href=\"https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/Welcome.html\">IAM Identity Center OIDC API Reference</a>.</p>" 283 }, 284 "idToken":{ 285 "shape":"IdToken", 286 "documentation":"<p>A JSON Web Token (JWT) that identifies the user associated with the issued access token. </p>" 287 }, 288 "issuedTokenType":{ 289 "shape":"TokenTypeURI", 290 "documentation":"<p>Indicates the type of tokens that are issued by IAM Identity Center. The following values are supported: </p> <p>* Access Token - <code>urn:ietf:params:oauth:token-type:access_token</code> </p> <p>* Refresh Token - <code>urn:ietf:params:oauth:token-type:refresh_token</code> </p>" 291 }, 292 "scope":{ 293 "shape":"Scopes", 294 "documentation":"<p>The list of scopes for which authorization is granted. The access token that is issued is limited to the scopes that are granted.</p>" 295 } 296 } 297 }, 298 "DeviceCode":{"type":"string"}, 299 "Error":{"type":"string"}, 300 "ErrorDescription":{"type":"string"}, 301 "ExpirationInSeconds":{"type":"integer"}, 302 "ExpiredTokenException":{ 303 "type":"structure", 304 "members":{ 305 "error":{ 306 "shape":"Error", 307 "documentation":"<p>Single error code. For this exception the value will be <code>expired_token</code>.</p>" 308 }, 309 "error_description":{ 310 "shape":"ErrorDescription", 311 "documentation":"<p>Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.</p>" 312 } 313 }, 314 "documentation":"<p>Indicates that the token issued by the service is expired and is no longer valid.</p>", 315 "error":{"httpStatusCode":400}, 316 "exception":true 317 }, 318 "GrantType":{"type":"string"}, 319 "IdToken":{ 320 "type":"string", 321 "sensitive":true 322 }, 323 "InternalServerException":{ 324 "type":"structure", 325 "members":{ 326 "error":{ 327 "shape":"Error", 328 "documentation":"<p>Single error code. For this exception the value will be <code>server_error</code>.</p>" 329 }, 330 "error_description":{ 331 "shape":"ErrorDescription", 332 "documentation":"<p>Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.</p>" 333 } 334 }, 335 "documentation":"<p>Indicates that an error from the service occurred while trying to process a request.</p>", 336 "error":{"httpStatusCode":500}, 337 "exception":true, 338 "fault":true 339 }, 340 "IntervalInSeconds":{"type":"integer"}, 341 "InvalidClientException":{ 342 "type":"structure", 343 "members":{ 344 "error":{ 345 "shape":"Error", 346 "documentation":"<p>Single error code. For this exception the value will be <code>invalid_client</code>.</p>" 347 }, 348 "error_description":{ 349 "shape":"ErrorDescription", 350 "documentation":"<p>Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.</p>" 351 } 352 }, 353 "documentation":"<p>Indicates that the <code>clientId</code> or <code>clientSecret</code> in the request is invalid. For example, this can occur when a client sends an incorrect <code>clientId</code> or an expired <code>clientSecret</code>.</p>", 354 "error":{"httpStatusCode":401}, 355 "exception":true 356 }, 357 "InvalidClientMetadataException":{ 358 "type":"structure", 359 "members":{ 360 "error":{ 361 "shape":"Error", 362 "documentation":"<p>Single error code. For this exception the value will be <code>invalid_client_metadata</code>.</p>" 363 }, 364 "error_description":{ 365 "shape":"ErrorDescription", 366 "documentation":"<p>Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.</p>" 367 } 368 }, 369 "documentation":"<p>Indicates that the client information sent in the request during registration is invalid.</p>", 370 "error":{"httpStatusCode":400}, 371 "exception":true 372 }, 373 "InvalidGrantException":{ 374 "type":"structure", 375 "members":{ 376 "error":{ 377 "shape":"Error", 378 "documentation":"<p>Single error code. For this exception the value will be <code>invalid_grant</code>.</p>" 379 }, 380 "error_description":{ 381 "shape":"ErrorDescription", 382 "documentation":"<p>Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.</p>" 383 } 384 }, 385 "documentation":"<p>Indicates that a request contains an invalid grant. This can occur if a client makes a <a>CreateToken</a> request with an invalid grant type.</p>", 386 "error":{"httpStatusCode":400}, 387 "exception":true 388 }, 389 "InvalidRequestException":{ 390 "type":"structure", 391 "members":{ 392 "error":{ 393 "shape":"Error", 394 "documentation":"<p>Single error code. For this exception the value will be <code>invalid_request</code>.</p>" 395 }, 396 "error_description":{ 397 "shape":"ErrorDescription", 398 "documentation":"<p>Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.</p>" 399 } 400 }, 401 "documentation":"<p>Indicates that something is wrong with the input to the request. For example, a required parameter might be missing or out of range.</p>", 402 "error":{"httpStatusCode":400}, 403 "exception":true 404 }, 405 "InvalidRequestRegionException":{ 406 "type":"structure", 407 "members":{ 408 "error":{ 409 "shape":"Error", 410 "documentation":"<p>Single error code. For this exception the value will be <code>invalid_request</code>.</p>" 411 }, 412 "error_description":{ 413 "shape":"ErrorDescription", 414 "documentation":"<p>Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.</p>" 415 }, 416 "endpoint":{ 417 "shape":"Location", 418 "documentation":"<p>Indicates the IAM Identity Center endpoint which the requester may call with this token.</p>" 419 }, 420 "region":{ 421 "shape":"Region", 422 "documentation":"<p>Indicates the region which the requester may call with this token.</p>" 423 } 424 }, 425 "documentation":"<p>Indicates that a token provided as input to the request was issued by and is only usable by calling IAM Identity Center endpoints in another region.</p>", 426 "error":{"httpStatusCode":400}, 427 "exception":true 428 }, 429 "InvalidScopeException":{ 430 "type":"structure", 431 "members":{ 432 "error":{ 433 "shape":"Error", 434 "documentation":"<p>Single error code. For this exception the value will be <code>invalid_scope</code>.</p>" 435 }, 436 "error_description":{ 437 "shape":"ErrorDescription", 438 "documentation":"<p>Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.</p>" 439 } 440 }, 441 "documentation":"<p>Indicates that the scope provided in the request is invalid.</p>", 442 "error":{"httpStatusCode":400}, 443 "exception":true 444 }, 445 "Location":{"type":"string"}, 446 "LongTimeStampType":{"type":"long"}, 447 "RefreshToken":{ 448 "type":"string", 449 "sensitive":true 450 }, 451 "Region":{"type":"string"}, 452 "RegisterClientRequest":{ 453 "type":"structure", 454 "required":[ 455 "clientName", 456 "clientType" 457 ], 458 "members":{ 459 "clientName":{ 460 "shape":"ClientName", 461 "documentation":"<p>The friendly name of the client.</p>" 462 }, 463 "clientType":{ 464 "shape":"ClientType", 465 "documentation":"<p>The type of client. The service supports only <code>public</code> as a client type. Anything other than public will be rejected by the service.</p>" 466 }, 467 "scopes":{ 468 "shape":"Scopes", 469 "documentation":"<p>The list of scopes that are defined by the client. Upon authorization, this list is used to restrict permissions when granting an access token.</p>" 470 } 471 } 472 }, 473 "RegisterClientResponse":{ 474 "type":"structure", 475 "members":{ 476 "clientId":{ 477 "shape":"ClientId", 478 "documentation":"<p>The unique identifier string for each client. This client uses this identifier to get authenticated by the service in subsequent calls.</p>" 479 }, 480 "clientSecret":{ 481 "shape":"ClientSecret", 482 "documentation":"<p>A secret string generated for the client. The client will use this string to get authenticated by the service in subsequent calls.</p>" 483 }, 484 "clientIdIssuedAt":{ 485 "shape":"LongTimeStampType", 486 "documentation":"<p>Indicates the time at which the <code>clientId</code> and <code>clientSecret</code> were issued.</p>" 487 }, 488 "clientSecretExpiresAt":{ 489 "shape":"LongTimeStampType", 490 "documentation":"<p>Indicates the time at which the <code>clientId</code> and <code>clientSecret</code> will become invalid.</p>" 491 }, 492 "authorizationEndpoint":{ 493 "shape":"URI", 494 "documentation":"<p>An endpoint that the client can use to request authorization.</p>" 495 }, 496 "tokenEndpoint":{ 497 "shape":"URI", 498 "documentation":"<p>An endpoint that the client can use to create tokens.</p>" 499 } 500 } 501 }, 502 "Scope":{"type":"string"}, 503 "Scopes":{ 504 "type":"list", 505 "member":{"shape":"Scope"} 506 }, 507 "SlowDownException":{ 508 "type":"structure", 509 "members":{ 510 "error":{ 511 "shape":"Error", 512 "documentation":"<p>Single error code. For this exception the value will be <code>slow_down</code>.</p>" 513 }, 514 "error_description":{ 515 "shape":"ErrorDescription", 516 "documentation":"<p>Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.</p>" 517 } 518 }, 519 "documentation":"<p>Indicates that the client is making the request too frequently and is more than the service can handle. </p>", 520 "error":{"httpStatusCode":400}, 521 "exception":true 522 }, 523 "StartDeviceAuthorizationRequest":{ 524 "type":"structure", 525 "required":[ 526 "clientId", 527 "clientSecret", 528 "startUrl" 529 ], 530 "members":{ 531 "clientId":{ 532 "shape":"ClientId", 533 "documentation":"<p>The unique identifier string for the client that is registered with IAM Identity Center. This value should come from the persisted result of the <a>RegisterClient</a> API operation.</p>" 534 }, 535 "clientSecret":{ 536 "shape":"ClientSecret", 537 "documentation":"<p>A secret string that is generated for the client. This value should come from the persisted result of the <a>RegisterClient</a> API operation.</p>" 538 }, 539 "startUrl":{ 540 "shape":"URI", 541 "documentation":"<p>The URL for the Amazon Web Services access portal. For more information, see <a href=\"https://docs.aws.amazon.com/singlesignon/latest/userguide/using-the-portal.html\">Using the Amazon Web Services access portal</a> in the <i>IAM Identity Center User Guide</i>.</p>" 542 } 543 } 544 }, 545 "StartDeviceAuthorizationResponse":{ 546 "type":"structure", 547 "members":{ 548 "deviceCode":{ 549 "shape":"DeviceCode", 550 "documentation":"<p>The short-lived code that is used by the device when polling for a session token.</p>" 551 }, 552 "userCode":{ 553 "shape":"UserCode", 554 "documentation":"<p>A one-time user verification code. This is needed to authorize an in-use device.</p>" 555 }, 556 "verificationUri":{ 557 "shape":"URI", 558 "documentation":"<p>The URI of the verification page that takes the <code>userCode</code> to authorize the device.</p>" 559 }, 560 "verificationUriComplete":{ 561 "shape":"URI", 562 "documentation":"<p>An alternate URL that the client can use to automatically launch a browser. This process skips the manual step in which the user visits the verification page and enters their code.</p>" 563 }, 564 "expiresIn":{ 565 "shape":"ExpirationInSeconds", 566 "documentation":"<p>Indicates the number of seconds in which the verification code will become invalid.</p>" 567 }, 568 "interval":{ 569 "shape":"IntervalInSeconds", 570 "documentation":"<p>Indicates the number of seconds the client must wait between attempts when polling for a session.</p>" 571 } 572 } 573 }, 574 "SubjectToken":{ 575 "type":"string", 576 "sensitive":true 577 }, 578 "TokenType":{"type":"string"}, 579 "TokenTypeURI":{"type":"string"}, 580 "URI":{"type":"string"}, 581 "UnauthorizedClientException":{ 582 "type":"structure", 583 "members":{ 584 "error":{ 585 "shape":"Error", 586 "documentation":"<p>Single error code. For this exception the value will be <code>unauthorized_client</code>.</p>" 587 }, 588 "error_description":{ 589 "shape":"ErrorDescription", 590 "documentation":"<p>Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.</p>" 591 } 592 }, 593 "documentation":"<p>Indicates that the client is not currently authorized to make the request. This can happen when a <code>clientId</code> is not issued for a public client.</p>", 594 "error":{"httpStatusCode":400}, 595 "exception":true 596 }, 597 "UnsupportedGrantTypeException":{ 598 "type":"structure", 599 "members":{ 600 "error":{ 601 "shape":"Error", 602 "documentation":"<p>Single error code. For this exception the value will be <code>unsupported_grant_type</code>.</p>" 603 }, 604 "error_description":{ 605 "shape":"ErrorDescription", 606 "documentation":"<p>Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.</p>" 607 } 608 }, 609 "documentation":"<p>Indicates that the grant type in the request is not supported by the service.</p>", 610 "error":{"httpStatusCode":400}, 611 "exception":true 612 }, 613 "UserCode":{"type":"string"} 614 }, 615 "documentation":"<p>IAM Identity Center OpenID Connect (OIDC) is a web service that enables a client (such as CLI or a native application) to register with IAM Identity Center. The service also enables the client to fetch the user’s access token upon successful authentication and authorization with IAM Identity Center.</p> <note> <p>IAM Identity Center uses the <code>sso</code> and <code>identitystore</code> API namespaces.</p> </note> <p> <b>Considerations for Using This Guide</b> </p> <p>Before you begin using this guide, we recommend that you first review the following important information about how the IAM Identity Center OIDC service works.</p> <ul> <li> <p>The IAM Identity Center OIDC service currently implements only the portions of the OAuth 2.0 Device Authorization Grant standard (<a href=\"https://tools.ietf.org/html/rfc8628\">https://tools.ietf.org/html/rfc8628</a>) that are necessary to enable single sign-on authentication with the CLI. </p> </li> <li> <p>With older versions of the CLI, the service only emits OIDC access tokens, so to obtain a new token, users must explicitly re-authenticate. To access the OIDC flow that supports token refresh and doesn’t require re-authentication, update to the latest CLI version (1.27.10 for CLI V1 and 2.9.0 for CLI V2) with support for OIDC token refresh and configurable IAM Identity Center session durations. For more information, see <a href=\"https://docs.aws.amazon.com/singlesignon/latest/userguide/configure-user-session.html\">Configure Amazon Web Services access portal session duration </a>. </p> </li> <li> <p>The access tokens provided by this service grant access to all Amazon Web Services account entitlements assigned to an IAM Identity Center user, not just a particular application.</p> </li> <li> <p>The documentation in this guide does not describe the mechanism to convert the access token into Amazon Web Services Auth (“sigv4”) credentials for use with IAM-protected Amazon Web Services service endpoints. For more information, see <a href=\"https://docs.aws.amazon.com/singlesignon/latest/PortalAPIReference/API_GetRoleCredentials.html\">GetRoleCredentials</a> in the <i>IAM Identity Center Portal API Reference Guide</i>.</p> </li> </ul> <p>For general information about IAM Identity Center, see <a href=\"https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html\">What is IAM Identity Center?</a> in the <i>IAM Identity Center User Guide</i>.</p>" 616} 617