Register Client
ssooidc_register_client | R Documentation |
Registers a public client with IAM Identity Center¶
Description¶
Registers a public client with IAM Identity Center. This allows clients to perform authorization using the authorization code grant with Proof Key for Code Exchange (PKCE) or the device code grant.
Usage¶
ssooidc_register_client(clientName, clientType, scopes, redirectUris,
grantTypes, issuerUrl, entitledApplicationArn)
Arguments¶
clientName |
[required] The friendly name of the client. |
clientType |
[required] The type of client. The service supports only
|
scopes |
The list of scopes that are defined by the client. Upon authorization, this list is used to restrict permissions when granting an access token. |
redirectUris |
The list of redirect URI that are defined by the client. At completion of authorization, this list is used to restrict what locations the user agent can be redirected back to. |
grantTypes |
The list of OAuth 2.0 grant types that are defined by the client. This list is used to restrict the token granting flows available to the client. Supports the following OAuth 2.0 grant types: Authorization Code, Device Code, and Refresh Token.
|
issuerUrl |
The IAM Identity Center Issuer URL associated with an instance of IAM Identity Center. This value is needed for user access to resources through the client. |
entitledApplicationArn |
This IAM Identity Center application ARN is used to define administrator-managed configuration for public client access to resources. At authorization, the scopes, grants, and redirect URI available to this client will be restricted by this application resource. |
Value¶
A list with the following syntax:
list(
clientId = "string",
clientSecret = "string",
clientIdIssuedAt = 123,
clientSecretExpiresAt = 123,
authorizationEndpoint = "string",
tokenEndpoint = "string"
)
Request syntax¶
svc$register_client(
clientName = "string",
clientType = "string",
scopes = list(
"string"
),
redirectUris = list(
"string"
),
grantTypes = list(
"string"
),
issuerUrl = "string",
entitledApplicationArn = "string"
)