completeInvitationAfterLogin


SoftLayer_User_Customer_OpenIdConnect::completeInvitationAfterLogin

Completes invitation processing after logging on an existing OpenIdConnect user identity and return an access token

Description


Parameters

Name Type Description
providerType string A value representing the OpenID Connect provider type. Currently “IBMid” is the only supported provider.
accessToken string The access token from an OpenIdConnect login
emailRegistrationCode string The registration code from OpenIdConnect process

Required Headers

Optional Headers

  • None

Return Values

  • void

Error Handling

  • Throw the exception “BlueID email code not found in state parameter.” if no BlueID email code is provided.
  • Throw the exception “No invitation record for BlueID email code found.” if no invitation record is found.
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [string, string, string]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_User_Customer_OpenIdConnect/completeInvitationAfterLogin'