SecurityAgent / Client / initiate_provider_registration

initiate_provider_registration

SecurityAgent.Client.initiate_provider_registration(**kwargs)

Initiates the registration of Security Agent App for an external Provider

See also: AWS API Documentation

Request Syntax

response = client.initiate_provider_registration(
    provider='GITHUB'
)
Parameters:

provider (string) –

[REQUIRED]

Provider to register with

Return type:

dict

Returns:

Response Syntax

{
    'redirectTo': 'string',
    'csrfState': 'string'
}

Response Structure

  • (dict) –

    • redirectTo (string) –

      OAuth redirect URL

    • csrfState (string) –

      CSRF state token for OAuth security

Exceptions